소스 검색

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))