Update main.py
Browse files
main.py
CHANGED
|
@@ -24,7 +24,7 @@ working_status = os.getenv("DEFALUT_TALKING", default = "true").lower() == "true
|
|
| 24 |
|
| 25 |
# 建立 FastAPI 應用程式
|
| 26 |
app = FastAPI()
|
| 27 |
-
app.mount("/static", staticfiles.StaticFiles(directory="static"), name="static")
|
| 28 |
|
| 29 |
# 設定 CORS,允許跨域請求
|
| 30 |
app.add_middleware(
|
|
|
|
| 24 |
|
| 25 |
# 建立 FastAPI 應用程式
|
| 26 |
app = FastAPI()
|
| 27 |
+
# app.mount("/static", staticfiles.StaticFiles(directory="static"), name="static")
|
| 28 |
|
| 29 |
# 設定 CORS,允許跨域請求
|
| 30 |
app.add_middleware(
|