Default development environment to app.fizzy.localhost (#2822)
Using fizzy.localhost causes CORS errors when using minio for Active Storage because the minio endpoint is at minio.fizzy.localhost — a sibling subdomain, not a subdomain of the app host. Switching to app.fizzy.localhost makes both hosts subdomains of fizzy.localhost, resolving the CORS issue. See #2814 for the related minio CORS fix. fizzy.localhost will continue to work if people want to use it, but all docs and scripts have been updated to point to app.fizzy.localhost.
This commit is contained in:
+2
-2
@@ -15,7 +15,7 @@ And then run the development server:
|
||||
bin/dev
|
||||
```
|
||||
|
||||
You'll be able to access the app in development at http://fizzy.localhost:3006.
|
||||
You'll be able to access the app in development at http://app.fizzy.localhost:3006.
|
||||
|
||||
To login, enter `david@example.com` and grab the verification code from the browser console to sign in.
|
||||
|
||||
@@ -62,7 +62,7 @@ The remote CI pipeline will run tests against both SQLite and MySQL.
|
||||
|
||||
### Outbound Emails
|
||||
|
||||
You can view email previews at http://fizzy.localhost:3006/rails/mailers.
|
||||
You can view email previews at http://app.fizzy.localhost:3006/rails/mailers.
|
||||
|
||||
You can enable or disable [`letter_opener`](https://github.com/ryanb/letter_opener) to open sent emails automatically with:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user