Merge pull request #335 feature-NEWDWH2021-1377 into develop-fix-webapp-vulnerability

This commit is contained in:
下田雅人 2024-01-18 14:36:28 +09:00
commit 3e0548d0bc

View File

@ -11,7 +11,7 @@ from src.core import task
from src.error.exception_handler import http_exception_handler
from src.error.exceptions import UnexpectedException
app = FastAPI()
app = FastAPI(openapi_url=None)
# 静的ファイルをマウント
app.mount('/static', StaticFiles(directory=path.dirname(static.__file__)), name='static')