Skip to content

Centralize api base config - #1

Open
Jay4242 wants to merge 5 commits into
mlexpertio:masterfrom
Jay4242:centralize-api-base-config
Open

Centralize api base config#1
Jay4242 wants to merge 5 commits into
mlexpertio:masterfrom
Jay4242:centralize-api-base-config

Conversation

@Jay4242

@Jay4242 Jay4242 commented Apr 30, 2026

Copy link
Copy Markdown

I was having an issue when trying to reach the server from a remote machine.

The browser on the remote machine was trying to access localhost:8000 despite the server being at a domain such as http://llm-rig.lan:8000.

There was also an allowed dev origin error when trying to access the server from http://llm-rig.lan:3000 in the remote browser.

After these changes, with NEXT_PUBLIC_API_URL=http://llm-rig.lan:8000 & NEXT_PUBLIC_ALLOWED_DEV_ORIGINS=llm-rig.lan the issues seemed to be resolved.

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