Skip to content

fix(api): point PUBLIC_API_URL fallback at the live prod API - #244

Merged
anantjain341 merged 1 commit into
CivicDataLab:devfrom
anantjain341:fix/public-api-url-fallback
Oct 12, 2026
Merged

anantjain341 merged 1 commit into
CivicDataLab:devfrom
anantjain341:fix/public-api-url-fallback

Conversation

@anantjain341

Copy link
Copy Markdown
Contributor

Fixes #238. Implements the fix @saqibmanan proposed in the issue.

  • Fallback for PUBLIC_API_URL changed from https://api.civicdataspace.in to https://api.datakeep.civicdays.in in DataSpace/settings.py and api/services/metadata_export/adapter.py.
  • Also changed in .env.example, which had the same host.

The fallback https://api.civicdataspace.in does not resolve, so every
download_url in DCAT/Croissant/Dublin Core exports was a dead link when
PUBLIC_API_URL was unset. Use https://api.datakeep.civicdays.in, the prod
API host, in settings, the export adapter and .env.example.

Closes CivicDataLab#238
@anantjain341
anantjain341 merged commit b884240 into CivicDataLab:dev Oct 12, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant