Убрано по причине "JSON"
This commit is contained in:
@@ -13,9 +13,7 @@ app.register_blueprint(auth_bp, url_prefix='/auth')
|
||||
|
||||
@app.route('/')
|
||||
def index():
|
||||
with open(path.join(path.dirname(__file__), 'menu.json')) as f:
|
||||
urls = json.load(f)
|
||||
return render_template('main_menu.html', menu=urls, ses=session)
|
||||
return render_template('main_menu.html', ses=session)
|
||||
|
||||
@app.route('/logout')
|
||||
@check_auth
|
||||
|
||||
Reference in New Issue
Block a user