TelegramAktienBot/webservice/interface.py

13 lines
313 B
Python
Raw Normal View History

2022-03-14 06:32:16 +00:00
import os
2022-03-14 14:53:11 +00:00
from flask import Blueprint, render_template
2022-03-14 06:32:16 +00:00
2022-03-14 06:35:26 +00:00
interface = Blueprint('interface', __name__, url_prefix='/')
2022-03-14 06:32:16 +00:00
__location__ = os.path.realpath(os.path.join(os.getcwd(), os.path.dirname(__file__)))
# Return all tags
@interface.route('/', methods=['GET'])
def get_tags():
2022-03-14 14:53:11 +00:00
render_template("index.html")