TelegramAktienBot/webservice/interface.py

13 lines
313 B
Python

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