accountant/accountant/frontend/__init__.py

14 lines
271 B
Python

from flask import Blueprint, redirect, url_for
blueprint = Blueprint(
'frontend',
__name__,
template_folder='templates',
static_folder='static'
)
@blueprint.route('/')
def index():
return redirect(url_for('frontend.static', filename='index.html'))