feat(安全培训): 新增员工安全培训相关功能
This commit is contained in:
1 parent
cbc3cb959f
commit
8e5c57790c
50 files changed
+3769
-87
No files matched your search
+3
-1
@@ -3,6 +3,8 @@
|
||||
backend/run.py
|
||||
开发环境启动脚本
|
||||
"""
|
||||
import os
|
||||
|
||||
from app import create_app, db
|
||||
from app.models import User, Agent
|
||||
|
||||
@@ -15,4 +17,4 @@ def make_shell_context():
|
||||
if __name__ == '__main__':
|
||||
# MacOS ControlCenter uses port 5000, so we use 5052
|
||||
# (原5002易被Trae IDE自动端口转发劫持)
|
||||
app.run(host='0.0.0.0', port=5052)
|
||||
app.run(host='0.0.0.0', port=int(os.getenv('HXOPS_BACKEND_PORT', '5052')))
|
||||
Reference in new issue
Block a user