-
-
Notifications
You must be signed in to change notification settings - Fork 26.8k
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
Is there any way to specify a custom origin/referer/host? #714
Labels
Milestone
Comments
#695 will add support for environment overrides file so you'll be able to specify PORT and HTTPS there. Would adding support for HOST be enough for your needs? |
Yep, definitely. The |
Happy to review a PR adding support for this. Would you like to work on it? |
OK. Let's do this. |
Here: |
Fixed via #717. Thanks! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello,
First, thanks for this project, it is really great!
I want to use it in an existing project because everything looks better with it. However I have to use a custom host
project.dev.lan
in order to be authorized by the backend part. Is it possible to customize this part without runningnpm run eject
?I have seen the proxy part, but it does not change the
host
part in the http header request (origin
andreferer
fields). Is there any way to force it?I also have to set the port as
80
and not3000
. I know that we can do that through environment variables but I would prefer to have a overriding configuration file. It is easier to make it works on different OS. Same thing for the HTTPS. I prefer a file over an environment variable.Thank you,
The text was updated successfully, but these errors were encountered: