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

Documented workflow only works on local machine #102

Open
mausquirk opened this issue Jul 12, 2023 · 0 comments
Open

Documented workflow only works on local machine #102

mausquirk opened this issue Jul 12, 2023 · 0 comments

Comments

@mausquirk
Copy link

Rails only allows http requests to local resources such as localhost or 0.0.0.0/0. 1

Thus the described workflow for setting up a development environment only works on a local machine but not on system called by an URL.

A possible workaround is to set config.host = domain.tld in order to setup an organization an define a valid hostname.

Footnotes

  1. https://edgeapi.rubyonrails.org/classes/ActionDispatch/HostAuthorization.html

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

No branches or pull requests

1 participant