Skip to content

Commit 0d280aa

Browse files
committed
/api로 경로 변경
1 parent acfe5d2 commit 0d280aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def on_startup():
3333
app.include_router(ws_handler.router)
3434
app.include_router(category_handler.router)
3535

36-
app.mount("/uploads", StaticFiles(directory=UPLOAD_DIR), name="uploads")
36+
app.mount("/api/uploads", StaticFiles(directory=UPLOAD_DIR), name="uploads")
3737

3838
# ? react 사용을 위한 CORS 설정
3939
# 허용할 출처(origin) 목록

0 commit comments

Comments
 (0)