Repository navigation
fix: use the new auth and API URLs - #7
Merged
Merged
Conversation
The environments do not have the gateway subdomain now. Login failed with 404, and the upload failed with 405. Copy the URLs from opencrvs-core develop: - AUTH_URL is https://login.<domain>/api/auth - GATEWAY_HOST is https://register.<domain>/api - uploadFile() keeps the /api path of GATEWAY_HOST Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
onnee04
approved these changes
Nov 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The environments do not have the
gateway.<domain>subdomain now. All tests failed:Changes
The URLs are now the same as in
packages/testland/e2e/supportin opencrvs-coredevelop.support/constants.tsAUTH_URLishttps://login.<domain>/api/auth.GATEWAY_HOSTishttps://register.<domain>/api.support/test-data/utils.tsuploadFile()adds/uploadtoGATEWAY_HOSTas a string.new URL('/upload', GATEWAY_HOST)removed the/apipath.Test results
qa.opencrvs.dev,--repeat-each 3: 32 passed and 1 failed.pnpm typecheck,pnpm lintandpnpm format:checkpass.PR #5 has the same two changes. After this PR is merged, PR #5 has only its spec file.
🤖 Generated with Claude Code