-
Notifications
You must be signed in to change notification settings - Fork 0
Review instructions on how to run fractal-web through node build
#273
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
Comments
I think what is missing in the documentation about I'm now updating the instructions in the docs, but this is not related to CORS (that is, it does not depend on the FRACTAL_CORS_ALLOW_ORIGIN variable in fractal-server configuration). @jluethi do you remember if this was the actual error you found, or if it was something else? How to reproduce the error (on port 3000)
How to reproduce the error (on port 5173)Conjecture: this error appears because we use port 3000 instead of port 5173, which is the one listed in the defaults of FRACTAL_CORS_ALLOW_ORIGIN.
How to avoid the error
Note that the "Cross-site POST form submissions are forbidden" error comes from SvelteKit, see:
|
Ah yeah, that was the error I hit as well! Thanks for the update of the docs! Does it need to be port 3000 or would e.g. |
|
Are we hitting CORS issues when running on port 3000? Is it because of fractal-server allowed-cors defaults? To check.
The text was updated successfully, but these errors were encountered: