diff --git a/compose.dev.yml b/compose.dev.yml index 24dd535..49e71b9 100644 --- a/compose.dev.yml +++ b/compose.dev.yml @@ -19,10 +19,10 @@ services: - SAPPORO_DEBUG=True - SAPPORO_RUN_DIR=${PWD}/run ports: - - 127.0.0.1:1122:1122 + - 127.0.0.1:1123:1122 restart: on-failure working_dir: /app - command: ["sleep", "infinity"] + command: [ "sleep", "infinity" ] networks: - sapporo-dev-network diff --git a/sapporo/app.py b/sapporo/app.py index 4fe9141..b771082 100644 --- a/sapporo/app.py +++ b/sapporo/app.py @@ -10,8 +10,7 @@ from fastapi.responses import JSONResponse from starlette.datastructures import Headers, MutableHeaders from starlette.exceptions import HTTPException as StarletteHTTPException -from starlette.responses import PlainTextResponse, Response -from starlette.types import ASGIApp, Message, Receive, Scope, Send +from starlette.types import Message, Receive, Scope, Send from sapporo.auth import get_auth_config from sapporo.config import (LOGGER, PKG_DIR, add_openapi_info, get_config,