add test
This commit is contained in:
parent
b93e3013d0
commit
f573e542cd
6
app.py
6
app.py
|
|
@ -36,9 +36,9 @@ def create_app() -> FastAPI:
|
||||||
loading_router_middleware(app)
|
loading_router_middleware(app)
|
||||||
if settings.PROJECT.DEBUG:
|
if settings.PROJECT.DEBUG:
|
||||||
logger.info("Application started successfully:{}".format(CORSMiddleware.__name__))
|
logger.info("Application started successfully:{}".format(CORSMiddleware.__name__))
|
||||||
logger.info(f"Server address http://{host}:{settings.PROJECT.PORT}")
|
logger.info(f"Server address http://127.0.0.1:{settings.PROJECT.PORT}")
|
||||||
logger.info(f"Api doc address http://{host}:{settings.PROJECT.PORT}{settings.SWAGGER.DOCS_URL}")
|
logger.info(f"Api doc address http://127.0.0.1:{settings.PROJECT.PORT}{settings.SWAGGER.DOCS_URL}")
|
||||||
logger.info(f"Api redoc address http://{host}:{settings.PROJECT.PORT}{settings.SWAGGER.REDOC_URL}")
|
logger.info(f"Api redoc address http://127.0.0.1:{settings.PROJECT.PORT}{settings.SWAGGER.REDOC_URL}")
|
||||||
return app
|
return app
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue