Skip to content

Commit

Permalink
fix: default UNDERPASS_API_URL no trailing slash
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Apr 3, 2024
1 parent 87e825f commit 94de009
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ FMTM_DB_PASSWORD=${FMTM_DB_PASSWORD:-"fmtm"}
FMTM_DB_NAME=${FMTM_DB_NAME:-"fmtm"}

### Underpass (optional override) ###
UNDERPASS_API_URL=${UNDERPASS_API_URL:-"https://api-prod.raw-data.hotosm.org/v1/"}
UNDERPASS_API_URL=${UNDERPASS_API_URL:-"https://api-prod.raw-data.hotosm.org/v1"}
2 changes: 1 addition & 1 deletion src/backend/app/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def configure_s3_download_root(cls, v: Optional[str], info: ValidationInfo) -> s
return f"http://s3.{fmtm_domain}:{dev_port}"
return f"https://s3.{fmtm_domain}"

UNDERPASS_API_URL: HttpUrlStr = "https://api-prod.raw-data.hotosm.org/v1/"
UNDERPASS_API_URL: HttpUrlStr = "https://api-prod.raw-data.hotosm.org/v1"
SENTRY_DSN: Optional[str] = None

model_config = SettingsConfigDict(
Expand Down

0 comments on commit 94de009

Please sign in to comment.