app/server/static_hosting/__management.py
from flask import send_from_directory
# TODO Deprecated! - scheduled for removal in release 2
def init_static_hosting(app):
@app.route('/')
def send_index():
return send_from_directory(directory='static_hosting/public/', filename='index.html')