浏览代码

Flask路径设置

Hai Lin 1 月之前
父节点
当前提交
8a77d60654
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app.py

+ 1 - 1
app.py

@@ -16,7 +16,7 @@ from datetime import datetime
 # Suppress InsecureRequestWarning
 urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
 
-app = Flask(__name__, static_folder='static', static_url_path='/static')
+app = Flask(__name__, static_folder='static', static_url_path='/manager/static')
 app.secret_key = 'genealogy_secret_key'
 app.config['UPLOAD_FOLDER'] = 'uploads'
 os.makedirs(app.config['UPLOAD_FOLDER'], exist_ok=True)