浏览代码

for certbot

ming 3 年之前
父节点
当前提交
3c392e42cc
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      api/main.py

+ 1 - 1
api/main.py

@@ -61,7 +61,7 @@ ALGORITHM = "HS256"
 ACCESS_TOKEN_EXPIRE_DAYS = 5
 ACCESS_TOKEN_EXPIRE_DAYS = 5
 pwd_context = CryptContext(schemes=["bcrypt"], deprecated="auto")
 pwd_context = CryptContext(schemes=["bcrypt"], deprecated="auto")
 
 
-app.mount("/", StaticFiles(directory="/"), name="/")
+
 app.mount("/static", StaticFiles(directory="static"), name="static")
 app.mount("/static", StaticFiles(directory="static"), name="static")
 app.mount("/static/img", StaticFiles(directory="static/img"), name="static/img")
 app.mount("/static/img", StaticFiles(directory="static/img"), name="static/img")
 app.mount("/templates", StaticFiles(directory="templates"), name="templates")
 app.mount("/templates", StaticFiles(directory="templates"), name="templates")