Commit c5e0e537 authored by ibuler's avatar ibuler

[Bugfix] 修改装饰器bug

parent 83761cf4
# ~*~ coding: utf-8 ~*~
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
import os
......
......@@ -6,11 +6,10 @@ from ..authentication import login_required
from flask import render_template, send_from_directory
__all__ = ['index', 'luna', 'send_dist']
# __all__ = ['index', 'luna', 'send_dist']
@app.route('/')
@login_required
def index():
return render_template('index.html')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment