Skip to content

Pull through alternative API base URL when present#10404

Open
lee-at-zoo-corp wants to merge 2 commits intomainfrom
lee-at-zoo-corp/passthrough-alt-api-base-url
Open

Pull through alternative API base URL when present#10404
lee-at-zoo-corp wants to merge 2 commits intomainfrom
lee-at-zoo-corp/passthrough-alt-api-base-url

Conversation

@lee-at-zoo-corp
Copy link
Contributor

This prevents running modeling-app with api.

@lee-at-zoo-corp lee-at-zoo-corp requested a review from a team as a code owner March 11, 2026 18:17
@vercel
Copy link

vercel bot commented Mar 11, 2026

Deployment failed with the following error:

You don't have permission to create a Preview Deployment for this Vercel project: modeling-app.

View Documentation: https://vercel.com/docs/accounts/team-members-and-roles


export function generateDomainsFromBaseDomain(baseDomain: string) {
export function generateDomainsFromBaseDomain(baseDomain: string | undefined) {
const normalizedBaseDomain = baseDomain ?? ''
Copy link
Contributor

@jacebrowning jacebrowning Mar 11, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is meant by "normalized" here? If possible, I think this function should continue to accept a string and it should be on the caller to provide one.

Copy link
Contributor Author

@lee-at-zoo-corp lee-at-zoo-corp Mar 11, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All the call sites will have to change, that's a lot vs 1 place.

normalize is very clear: going from string | undefined to string.

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.

2 participants