Repository navigation
feat(env): norbix env admin-url set/clear/show — one admin portal per environment; project --env shows the effective admin URL - #97
Merged
Conversation
… environment; project --env shows the effective admin URL
Gateway N49: PATCH/GET /v3/account/projects/environments/{environmentName}/admin-url,
called directly (the SDK does not know the routes yet), env from --env / --prod /
the saved default, else PROD. set/clear read the answer back and print where the
env's reset / magic-link / invitation e-mails point and why (environment / project
/ hosted / cloud). `norbix project --env TEST` adds environmentAdminUrl; without an
env it answers as before. A 404/405 names an old hub.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Gateway N49 — one admin portal per environment.
norbix env admin-url set <url> --env TEST/--prod,norbix env admin-url clear --env TEST,norbix env admin-url show --env TESTcall the new Hub routes
PATCH|GET /v3/account/projects/environments/{environmentName}/admin-urldirectly (the SDK does not know them yet).set/clearread the answer back and print where that environment's password-reset / magic-link / invitation e-mails point and why(
environment/project/hosted/cloud).--dry-runsends nothing; a 404/405 names an old hub.norbix project --env TESTaddsenvironmentAdminUrl{env, adminUrl, effectiveAdminUrl, source, note}; without an env it answers as before.Tests:
test/env-admin-url.test.ts(10), fullvitest1113/0.🤖 Generated with Claude Code