浏览代码

img path(相對)

Mia Cheng 1 年之前
父节点
当前提交
15ea7e953b
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      app/api/classes.py

+ 2 - 1
app/api/classes.py

@@ -23,7 +23,8 @@ from tortoise.queryset import Q
 
 classes = APIRouter()
 
-IMAGEDIR = "/var/www/html/ntcri/assets/"
+#IMAGEDIR = "/var/www/html/ntcri/assets/"
+IMAGEDIR = "assets/"
 
 # SECRET: str = secrets.token_urlsafe(32)
 # manager = LoginManager(SECRET, '/login',default_expiry=timedelta(hours=72))