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 Gotcha hint to README #39 #50

Merged
merged 2 commits into from
Sep 9, 2020

Conversation

julianrubisch
Copy link
Contributor

Documentation

Description

Add a Gotcha section with a hint on how to fix the ActiveStorage URL error in development.

Fixes #30

Checklist

  • My code follows the style guidelines of this project
  • Checks (StandardRB & Prettier-Standard) are passing

@leastbad
Copy link
Contributor

leastbad commented Sep 8, 2020

Important note: production.rb needs to be set, too!

config.action_controller.default_url_options = {host: "mysite.com"}

@julianrubisch julianrubisch merged commit 603be50 into master Sep 9, 2020
@julianrubisch julianrubisch deleted the 39-active-storage-url-localhost branch September 9, 2020 07:57
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.

2 participants