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

webpack dev: Change to API_PROXY instead of API_PROXY_HOST & API_PROXY_PORT #5381

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

himdel
Copy link
Collaborator

@himdel himdel commented Dec 18, 2024

Change to API_PROXY to allow running against https backends.

and ignore self-signed https certificates,
and spoof the Origin, Host & Referer headers correctly.


API_PROXY=https://1.2.3.4 npm run start-standalone

should be all that's needed to connect to a remote backend.

Cc @acruzgon

… API_PROXY_PORT

to allow running against https backends

and ignore self-signed https certificates,
and spoof the Origin, Host & Referer headers correctly
@himdel himdel changed the title Change to API_PROXY=http://localhost:5001 instead of API_PROXY_HOST & API_PROXY_PORT webpack dev: Change to API_PROXY instead of API_PROXY_HOST & API_PROXY_PORT Dec 18, 2024
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