chore(config): change the port to keep similarity with authentication of magicleaps
refactor(routes): shorten API endpoint
This commit is contained in:
parent
40a43aa538
commit
91b84434d0
@ -1,6 +1,6 @@
|
|||||||
export APP_NAME=notification
|
export APP_NAME=notification
|
||||||
export SERVICE_API_ACCESS_HOST=0.0.0.0
|
export SERVICE_API_ACCESS_HOST=0.0.0.0
|
||||||
export SERVICE_API_ACCESS_PORT=8104
|
export SERVICE_API_ACCESS_PORT=8014
|
||||||
export CONTAINER_APP_ROOT=/app
|
export CONTAINER_APP_ROOT=/app
|
||||||
export LOG_BASE_PATH=$CONTAINER_APP_ROOT/log/$APP_NAME
|
export LOG_BASE_PATH=$CONTAINER_APP_ROOT/log/$APP_NAME
|
||||||
export BACKEND_LOG_FILE_NAME=$APP_NAME
|
export BACKEND_LOG_FILE_NAME=$APP_NAME
|
||||||
|
|||||||
@ -10,7 +10,7 @@ class SiteSettings(BaseSettings):
|
|||||||
ENV: str = "dev"
|
ENV: str = "dev"
|
||||||
|
|
||||||
SERVER_HOST: str = "0.0.0.0"
|
SERVER_HOST: str = "0.0.0.0"
|
||||||
SERVER_PORT: int = 8104
|
SERVER_PORT: int = 8014
|
||||||
|
|
||||||
URL: str = "http://localhost"
|
URL: str = "http://localhost"
|
||||||
TIME_ZONE: str = "UTC"
|
TIME_ZONE: str = "UTC"
|
||||||
|
|||||||
@ -7,7 +7,7 @@ from .tenant_notification import router as tenant_notification_router
|
|||||||
|
|
||||||
api_router = APIRouter(prefix="/notification")
|
api_router = APIRouter(prefix="/notification")
|
||||||
api_router.include_router(sn_router, tags=["notification"])
|
api_router.include_router(sn_router, tags=["notification"])
|
||||||
api_router.include_router(template_router, prefix="/templates", tags=["templates"])
|
api_router.include_router(template_router, tags=["templates"])
|
||||||
api_router.include_router(email_sender_router, tags=["email_sender"])
|
api_router.include_router(email_sender_router, tags=["email_sender"])
|
||||||
api_router.include_router(tenant_notification_router, prefix="/tenant", tags=["tenant_notification"])
|
api_router.include_router(tenant_notification_router, tags=["tenant_notification"])
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user