Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add localhost API bypass #951

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

johanbissemattsson
Copy link
Contributor

@johanbissemattsson johanbissemattsson commented Jan 26, 2024

Description

Tickets involved

LXL-4334

Solves

Add support for hitting API directly bypassing whatever proxies and load balancers sit between it and the public internet). This is enabled using the environment variables USE_LOCALHOST_API, LOCALHOST_API_PORT, and LOCALHOST_ID_PORT on the node servers.

See https://kit.svelte.dev/docs/hooks#server-hooks-handlefetch for more info.

Summary of changes

  • Add localhost API bypass

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant