TelegramAktienBot/webservice/blueprint_interface.py

13 lines
340 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 16:36:38 +00:00
interface_blueprint = 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
2022-03-14 16:36:38 +00:00
@interface_blueprint.route('/', methods=['GET'])
def get_html():
return render_template("index.html")