Fixed imports
This commit is contained in:
12
webservice/blueprint_interface.py
Normal file
12
webservice/blueprint_interface.py
Normal file
@@ -0,0 +1,12 @@
|
||||
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")
|
||||
Reference in New Issue
Block a user