Fix API compatibility and add user/role/permission and asset import/export
This commit is contained in:
14
backend/run.py
Normal file
14
backend/run.py
Normal file
@@ -0,0 +1,14 @@
|
||||
"""
|
||||
开发服务器启动脚本
|
||||
"""
|
||||
import uvicorn
|
||||
from app.core.config import settings
|
||||
|
||||
if __name__ == "__main__":
|
||||
uvicorn.run(
|
||||
"app.main:app",
|
||||
host=settings.HOST,
|
||||
port=settings.PORT,
|
||||
reload=settings.DEBUG,
|
||||
log_level=settings.LOG_LEVEL.lower()
|
||||
)
|
||||
Reference in New Issue
Block a user