Изменение расположение menu.json

This commit is contained in:
Anton Kamalov
2024-10-22 23:23:34 +03:00
parent bd4edd39e0
commit e6b63572ee
2 changed files with 1 additions and 1 deletions

View File

@@ -13,7 +13,7 @@ app.register_blueprint(auth_bp, url_prefix='/auth')
@app.route('/')
def index():
with open(path.join(path.dirname(__file__), 'datafiles/menu.json')) as f:
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)