TelegramAktienBot/webservice/blueprint_interface.py
2022-03-14 17:36:38 +01:00

13 lines
340 B
Python

import os
from flask import Blueprint, render_template
interface_blueprint = Blueprint('interface', __name__, url_prefix='/')
__location__ = os.path.realpath(os.path.join(os.getcwd(), os.path.dirname(__file__)))
# Return all tags
@interface_blueprint.route('/', methods=['GET'])
def get_html():
return render_template("index.html")