Skip to content

初次没有题目显示 #4

@forgetl

Description

@forgetl

部署于wsl上,前后端均未见任何报错,但是题目为空。
后端运行python3 run.py
数据库正常连接,需要我手动请求一次/api/reset-db,然后再注册才有题目显示,这是正常的吗?
.env中为FLASK_ENV=production

CORS Origins: ['http://localhost:5173', 'http://127.0.0.1:5173', 'http://10.110.39.145:5173']
Database indexes created successfully
Starting LaTeX Speed Trainer API server...
Environment: production
Debug mode: True
Server: http://127.0.0.1:5000
 * Serving Flask app 'app'
 * Debug mode: on
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
 * Running on http://127.0.0.1:5000
Press CTRL+C to quit
 * Restarting with stat
CORS Origins: ['http://localhost:5173', 'http://127.0.0.1:5173', 'http://10.110.39.145:5173']
Database indexes created successfully
Starting LaTeX Speed Trainer API server...
Environment: production
Debug mode: True
Server: http://127.0.0.1:5000
 * Debugger is active!
 * Debugger PIN: 308-814-655

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions