From e70047ca0fdedb6bfc8ef0ca750e53252e39da45 Mon Sep 17 00:00:00 2001 From: Mike Dalessio Date: Thu, 9 Apr 2026 12:43:01 -0400 Subject: [PATCH] Default development environment to app.fizzy.localhost (#2822) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- AGENTS.md | 4 ++-- bin/dev | 2 +- config/environments/development.rb | 3 ++- docs/api/README.md | 6 +++--- docs/api/sections/account.md | 2 +- docs/api/sections/activities.md | 28 ++++++++++++++-------------- docs/api/sections/boards.md | 16 ++++++++-------- docs/api/sections/cards.md | 24 ++++++++++++------------ docs/api/sections/comments.md | 16 ++++++++-------- docs/api/sections/identity.md | 4 ++-- docs/api/sections/notifications.md | 6 +++--- docs/api/sections/pins.md | 14 +++++++------- docs/api/sections/reactions.md | 8 ++++---- docs/api/sections/tags.md | 4 ++-- docs/api/sections/users.md | 10 +++++----- docs/api/sections/webhooks.md | 10 +++++----- docs/development.md | 4 ++-- 17 files changed, 81 insertions(+), 80 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 64c69151a..f72ef659c 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -14,7 +14,7 @@ bin/setup # Initial setup (installs gems, creates DB, loads schema) bin/dev # Start development server (runs on port 3006) ``` -Development URL: http://fizzy.localhost:3006 +Development URL: http://app.fizzy.localhost:3006 Login with: david@example.com (development fixtures), password will appear in the browser console ### Testing @@ -156,7 +156,7 @@ Allow people to move between OSS and SAAS Fizzy instances: ### Chrome MCP (Local Dev) -URL: `http://fizzy.localhost:3006` +URL: `http://app.fizzy.localhost:3006` Login: david@example.com (passwordless magic link auth - check rails console for link) Use Chrome MCP tools to interact with the running dev app for UI testing and debugging. diff --git a/bin/dev b/bin/dev index 4c11aa3b0..991de00c7 100755 --- a/bin/dev +++ b/bin/dev @@ -60,7 +60,7 @@ if [ "$USE_TAILSCALE" = "1" ]; then fi echo "Login with david@example.com to: https://$TS_HOSTNAME:$TS_PORT/" else - echo "Login with david@example.com to: http://fizzy.localhost:$PORT/" + echo "Login with david@example.com to: http://app.fizzy.localhost:$PORT/" fi ./bin/rails server -b 0.0.0.0 -p $PORT diff --git a/config/environments/development.rb b/config/environments/development.rb index afa223ced..730a945db 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -86,7 +86,8 @@ Rails.application.configure do end config.hosts = [ - "fizzy.localhost", + "app.fizzy.localhost", + "fizzy.localhost", # here for backwards compat, but will have CORS errors when using minio "localhost", "127.0.0.1", /fizzy-\d+/, # review apps: fizzy-123, fizzy-456:3000 diff --git a/docs/api/README.md b/docs/api/README.md index 065d09e63..12dd70544 100644 --- a/docs/api/README.md +++ b/docs/api/README.md @@ -110,9 +110,9 @@ and we use a dynamic page size where initial pages return fewer results than lat If there are more results to fetch, the response will include a `Link` header with a `rel="next"` link to the next page of results: ```bash -curl -H "Authorization: Bearer put-your-access-token-here" -H "Accept: application/json" -v http://fizzy.localhost:3006/686465299/cards +curl -H "Authorization: Bearer put-your-access-token-here" -H "Accept: application/json" -v http://app.fizzy.localhost:3006/686465299/cards # ... -< link: ; rel="next" +< link: ; rel="next" # ... ``` @@ -138,7 +138,7 @@ curl -X PUT \ -H "Authorization: Bearer put-your-access-token-here" \ -F "user[name]=David H. Hansson" \ -F "user[avatar]=@/path/to/avatar.jpg" \ - http://fizzy.localhost:3006/686465299/users/03f5v9zjw7pz8717a4no1h8a7 + http://app.fizzy.localhost:3006/686465299/users/03f5v9zjw7pz8717a4no1h8a7 ``` ## Rich Text Fields diff --git a/docs/api/sections/account.md b/docs/api/sections/account.md index 5db4e776e..0360d094d 100644 --- a/docs/api/sections/account.md +++ b/docs/api/sections/account.md @@ -29,7 +29,7 @@ __Response:__ "code": "abc123", "usage_count": 3, "usage_limit": 10, - "url": "http://fizzy.localhost:3006/897362094/join/abc123", + "url": "http://app.fizzy.localhost:3006/897362094/join/abc123", "active": true } ``` diff --git a/docs/api/sections/activities.md b/docs/api/sections/activities.md index 3820bdd28..33bf1bf70 100644 --- a/docs/api/sections/activities.md +++ b/docs/api/sections/activities.md @@ -65,7 +65,7 @@ __Response:__ "created_at": "2026-03-25T15:11:04.000Z", "description": "David Heinemeier Hansson moved \"Fix mobile login\" to \"Done\"", "particulars": {}, - "url": "http://fizzy.localhost:3006/897362094/cards/42", + "url": "http://app.fizzy.localhost:3006/897362094/cards/42", "eventable_type": "Card", "eventable": { "id": "03f6card042", @@ -82,7 +82,7 @@ __Response:__ "golden": false, "last_active_at": "2026-03-25T15:11:04.000Z", "created_at": "2026-03-25T09:00:00.000Z", - "url": "http://fizzy.localhost:3006/897362094/cards/42" + "url": "http://app.fizzy.localhost:3006/897362094/cards/42" }, "board": { "id": "03f6abc123", @@ -90,7 +90,7 @@ __Response:__ "all_access": true, "created_at": "2026-03-01T10:00:00.000Z", "auto_postpone_period_in_days": 14, - "url": "http://fizzy.localhost:3006/897362094/boards/03f6abc123" + "url": "http://app.fizzy.localhost:3006/897362094/boards/03f6abc123" }, "creator": { "id": "03f5user123", @@ -99,8 +99,8 @@ __Response:__ "active": true, "email_address": "david@example.com", "created_at": "2026-03-01T09:00:00.000Z", - "url": "http://fizzy.localhost:3006/897362094/users/03f5user123", - "avatar_url": "http://fizzy.localhost:3006/897362094/users/03f5user123/avatar" + "url": "http://app.fizzy.localhost:3006/897362094/users/03f5user123", + "avatar_url": "http://app.fizzy.localhost:3006/897362094/users/03f5user123/avatar" } }, { @@ -109,7 +109,7 @@ __Response:__ "created_at": "2026-03-25T14:17:22.000Z", "description": "David Heinemeier Hansson commented on \"Fix mobile login\"", "particulars": {}, - "url": "http://fizzy.localhost:3006/897362094/cards/42#comment_03facomment9", + "url": "http://app.fizzy.localhost:3006/897362094/cards/42#comment_03facomment9", "eventable_type": "Comment", "eventable": { "id": "03facomment9", @@ -126,15 +126,15 @@ __Response:__ "active": true, "email_address": "david@example.com", "created_at": "2026-03-01T09:00:00.000Z", - "url": "http://fizzy.localhost:3006/897362094/users/03f5user123", - "avatar_url": "http://fizzy.localhost:3006/897362094/users/03f5user123/avatar" + "url": "http://app.fizzy.localhost:3006/897362094/users/03f5user123", + "avatar_url": "http://app.fizzy.localhost:3006/897362094/users/03f5user123/avatar" }, "card": { "id": "03f6card042", - "url": "http://fizzy.localhost:3006/897362094/cards/42" + "url": "http://app.fizzy.localhost:3006/897362094/cards/42" }, - "reactions_url": "http://fizzy.localhost:3006/897362094/cards/42/comments/03facomment9/reactions", - "url": "http://fizzy.localhost:3006/897362094/cards/42/comments/03facomment9" + "reactions_url": "http://app.fizzy.localhost:3006/897362094/cards/42/comments/03facomment9/reactions", + "url": "http://app.fizzy.localhost:3006/897362094/cards/42/comments/03facomment9" }, "board": { "id": "03f6abc123", @@ -142,7 +142,7 @@ __Response:__ "all_access": true, "created_at": "2026-03-01T10:00:00.000Z", "auto_postpone_period_in_days": 14, - "url": "http://fizzy.localhost:3006/897362094/boards/03f6abc123" + "url": "http://app.fizzy.localhost:3006/897362094/boards/03f6abc123" }, "creator": { "id": "03f5user123", @@ -151,8 +151,8 @@ __Response:__ "active": true, "email_address": "david@example.com", "created_at": "2026-03-01T09:00:00.000Z", - "url": "http://fizzy.localhost:3006/897362094/users/03f5user123", - "avatar_url": "http://fizzy.localhost:3006/897362094/users/03f5user123/avatar" + "url": "http://app.fizzy.localhost:3006/897362094/users/03f5user123", + "avatar_url": "http://app.fizzy.localhost:3006/897362094/users/03f5user123/avatar" } } ] diff --git a/docs/api/sections/boards.md b/docs/api/sections/boards.md index b3157cdcd..ccaab44bd 100644 --- a/docs/api/sections/boards.md +++ b/docs/api/sections/boards.md @@ -16,7 +16,7 @@ __Response:__ "all_access": true, "created_at": "2025-12-05T19:36:35.534Z", "auto_postpone_period_in_days": 30, - "url": "http://fizzy.localhost:3006/897362094/boards/03f5v9zkft4hj9qq0lsn9ohcm", + "url": "http://app.fizzy.localhost:3006/897362094/boards/03f5v9zkft4hj9qq0lsn9ohcm", "creator": { "id": "03f5v9zjw7pz8717a4no1h8a7", "name": "David Heinemeier Hansson", @@ -24,7 +24,7 @@ __Response:__ "active": true, "email_address": "david@example.com", "created_at": "2025-12-05T19:36:35.401Z", - "url": "http://fizzy.localhost:3006/897362094/users/03f5v9zjw7pz8717a4no1h8a7" + "url": "http://app.fizzy.localhost:3006/897362094/users/03f5v9zjw7pz8717a4no1h8a7" } } ] @@ -43,7 +43,7 @@ __Response:__ "all_access": false, "created_at": "2025-12-05T19:36:35.534Z", "auto_postpone_period_in_days": 30, - "url": "http://fizzy.localhost:3006/897362094/boards/03f5v9zkft4hj9qq0lsn9ohcm", + "url": "http://app.fizzy.localhost:3006/897362094/boards/03f5v9zkft4hj9qq0lsn9ohcm", "creator": { "id": "03f5v9zjw7pz8717a4no1h8a7", "name": "David Heinemeier Hansson", @@ -51,7 +51,7 @@ __Response:__ "active": true, "email_address": "david@example.com", "created_at": "2025-12-05T19:36:35.401Z", - "url": "http://fizzy.localhost:3006/897362094/users/03f5v9zjw7pz8717a4no1h8a7" + "url": "http://app.fizzy.localhost:3006/897362094/users/03f5v9zjw7pz8717a4no1h8a7" }, "public_description": "Follow along with public product updates.", "public_description_html": "

Follow along with public product updates.

", @@ -59,7 +59,7 @@ __Response:__ "03f5v9zjw7pz8717a4no1h8a7", "03f5v9zppzlksuj4mxba2nbzn" ], - "public_url": "http://fizzy.localhost:3006/897362094/public/boards/aB3dEfGhIjKlMnOp" + "public_url": "http://app.fizzy.localhost:3006/897362094/public/boards/aB3dEfGhIjKlMnOp" } ``` @@ -157,7 +157,7 @@ HTTP/1.1 201 Created "all_access": true, "created_at": "2025-12-05T19:36:35.534Z", "auto_postpone_period_in_days": 30, - "url": "http://fizzy.localhost:3006/897362094/boards/03f5v9zkft4hj9qq0lsn9ohcm", + "url": "http://app.fizzy.localhost:3006/897362094/boards/03f5v9zkft4hj9qq0lsn9ohcm", "creator": { "id": "03f5v9zjw7pz8717a4no1h8a7", "name": "David Heinemeier Hansson", @@ -165,9 +165,9 @@ HTTP/1.1 201 Created "active": true, "email_address": "david@example.com", "created_at": "2025-12-05T19:36:35.401Z", - "url": "http://fizzy.localhost:3006/897362094/users/03f5v9zjw7pz8717a4no1h8a7" + "url": "http://app.fizzy.localhost:3006/897362094/users/03f5v9zjw7pz8717a4no1h8a7" }, - "public_url": "http://fizzy.localhost:3006/897362094/public/boards/aB3dEfGhIjKlMnOp" + "public_url": "http://app.fizzy.localhost:3006/897362094/public/boards/aB3dEfGhIjKlMnOp" } ``` diff --git a/docs/api/sections/cards.md b/docs/api/sections/cards.md index 83ca51253..223578884 100644 --- a/docs/api/sections/cards.md +++ b/docs/api/sections/cards.md @@ -40,14 +40,14 @@ __Response:__ "golden": false, "last_active_at": "2025-12-05T19:38:48.553Z", "created_at": "2025-12-05T19:38:48.540Z", - "url": "http://fizzy.localhost:3006/897362094/cards/4", + "url": "http://app.fizzy.localhost:3006/897362094/cards/4", "board": { "id": "03f5v9zkft4hj9qq0lsn9ohcm", "name": "Fizzy", "all_access": true, "created_at": "2025-12-05T19:36:35.534Z", "auto_postpone_period_in_days": 30, - "url": "http://fizzy.localhost:3006/897362094/boards/03f5v9zkft4hj9qq0lsn9ohcm", + "url": "http://app.fizzy.localhost:3006/897362094/boards/03f5v9zkft4hj9qq0lsn9ohcm", "creator": { "id": "03f5v9zjw7pz8717a4no1h8a7", "name": "David Heinemeier Hansson", @@ -55,7 +55,7 @@ __Response:__ "active": true, "email_address": "david@example.com", "created_at": "2025-12-05T19:36:35.401Z", - "url": "http://fizzy.localhost:3006/897362094/users/03f5v9zjw7pz8717a4no1h8a7" + "url": "http://app.fizzy.localhost:3006/897362094/users/03f5v9zjw7pz8717a4no1h8a7" } }, "creator": { @@ -65,10 +65,10 @@ __Response:__ "active": true, "email_address": "david@example.com", "created_at": "2025-12-05T19:36:35.401Z", - "url": "http://fizzy.localhost:3006/897362094/users/03f5v9zjw7pz8717a4no1h8a7" + "url": "http://app.fizzy.localhost:3006/897362094/users/03f5v9zjw7pz8717a4no1h8a7" }, - "comments_url": "http://fizzy.localhost:3006/897362094/cards/4/comments", - "reactions_url": "http://fizzy.localhost:3006/897362094/cards/4/reactions" + "comments_url": "http://app.fizzy.localhost:3006/897362094/cards/4/comments", + "reactions_url": "http://app.fizzy.localhost:3006/897362094/cards/4/reactions" } ] ``` @@ -94,14 +94,14 @@ __Response:__ "golden": false, "last_active_at": "2025-12-05T19:38:48.553Z", "created_at": "2025-12-05T19:38:48.540Z", - "url": "http://fizzy.localhost:3006/897362094/cards/4", + "url": "http://app.fizzy.localhost:3006/897362094/cards/4", "board": { "id": "03f5v9zkft4hj9qq0lsn9ohcm", "name": "Fizzy", "all_access": true, "created_at": "2025-12-05T19:36:35.534Z", "auto_postpone_period_in_days": 30, - "url": "http://fizzy.localhost:3006/897362094/boards/03f5v9zkft4hj9qq0lsn9ohcm", + "url": "http://app.fizzy.localhost:3006/897362094/boards/03f5v9zkft4hj9qq0lsn9ohcm", "creator": { "id": "03f5v9zjw7pz8717a4no1h8a7", "name": "David Heinemeier Hansson", @@ -109,7 +109,7 @@ __Response:__ "active": true, "email_address": "david@example.com", "created_at": "2025-12-05T19:36:35.401Z", - "url": "http://fizzy.localhost:3006/897362094/users/03f5v9zjw7pz8717a4no1h8a7" + "url": "http://app.fizzy.localhost:3006/897362094/users/03f5v9zjw7pz8717a4no1h8a7" } }, "column": { @@ -128,10 +128,10 @@ __Response:__ "active": true, "email_address": "david@example.com", "created_at": "2025-12-05T19:36:35.401Z", - "url": "http://fizzy.localhost:3006/897362094/users/03f5v9zjw7pz8717a4no1h8a7" + "url": "http://app.fizzy.localhost:3006/897362094/users/03f5v9zjw7pz8717a4no1h8a7" }, - "comments_url": "http://fizzy.localhost:3006/897362094/cards/4/comments", - "reactions_url": "http://fizzy.localhost:3006/897362094/cards/4/reactions", + "comments_url": "http://app.fizzy.localhost:3006/897362094/cards/4/comments", + "reactions_url": "http://app.fizzy.localhost:3006/897362094/cards/4/reactions", "steps": [ { "id": "03f8huu0sog76g3s975963b5e", diff --git a/docs/api/sections/comments.md b/docs/api/sections/comments.md index a0854acc2..80a5f13da 100644 --- a/docs/api/sections/comments.md +++ b/docs/api/sections/comments.md @@ -25,14 +25,14 @@ __Response:__ "active": true, "email_address": "david@example.com", "created_at": "2025-12-05T19:36:35.401Z", - "url": "http://fizzy.localhost:3006/897362094/users/03f5v9zjw7pz8717a4no1h8a7" + "url": "http://app.fizzy.localhost:3006/897362094/users/03f5v9zjw7pz8717a4no1h8a7" }, "card": { "id": "03f5v9zo9qlcwwpyc0ascnikz", - "url": "http://fizzy.localhost:3006/897362094/cards/03f5v9zo9qlcwwpyc0ascnikz" + "url": "http://app.fizzy.localhost:3006/897362094/cards/03f5v9zo9qlcwwpyc0ascnikz" }, - "reactions_url": "http://fizzy.localhost:3006/897362094/cards/3/comments/03f5v9zo9qlcwwpyc0ascnikz/reactions", - "url": "http://fizzy.localhost:3006/897362094/cards/3/comments/03f5v9zo9qlcwwpyc0ascnikz" + "reactions_url": "http://app.fizzy.localhost:3006/897362094/cards/3/comments/03f5v9zo9qlcwwpyc0ascnikz/reactions", + "url": "http://app.fizzy.localhost:3006/897362094/cards/3/comments/03f5v9zo9qlcwwpyc0ascnikz" } ] ``` @@ -59,14 +59,14 @@ __Response:__ "active": true, "email_address": "david@example.com", "created_at": "2025-12-05T19:36:35.401Z", - "url": "http://fizzy.localhost:3006/897362094/users/03f5v9zjw7pz8717a4no1h8a7" + "url": "http://app.fizzy.localhost:3006/897362094/users/03f5v9zjw7pz8717a4no1h8a7" }, "card": { "id": "03f5v9zo9qlcwwpyc0ascnikz", - "url": "http://fizzy.localhost:3006/897362094/cards/03f5v9zo9qlcwwpyc0ascnikz" + "url": "http://app.fizzy.localhost:3006/897362094/cards/03f5v9zo9qlcwwpyc0ascnikz" }, - "reactions_url": "http://fizzy.localhost:3006/897362094/cards/3/comments/03f5v9zo9qlcwwpyc0ascnikz/reactions", - "url": "http://fizzy.localhost:3006/897362094/cards/3/comments/03f5v9zo9qlcwwpyc0ascnikz" + "reactions_url": "http://app.fizzy.localhost:3006/897362094/cards/3/comments/03f5v9zo9qlcwwpyc0ascnikz/reactions", + "url": "http://app.fizzy.localhost:3006/897362094/cards/3/comments/03f5v9zo9qlcwwpyc0ascnikz" } ``` diff --git a/docs/api/sections/identity.md b/docs/api/sections/identity.md index 9c3352095..706fe6684 100644 --- a/docs/api/sections/identity.md +++ b/docs/api/sections/identity.md @@ -23,7 +23,7 @@ __Response:__ "active": true, "email_address": "david@example.com", "created_at": "2025-12-05T19:36:35.401Z", - "url": "http://fizzy.localhost:3006/users/03f5v9zjw7pz8717a4no1h8a7" + "url": "http://app.fizzy.localhost:3006/users/03f5v9zjw7pz8717a4no1h8a7" } }, { @@ -38,7 +38,7 @@ __Response:__ "active": true, "email_address": "david@example.com", "created_at": "2025-12-05T19:36:36.783Z", - "url": "http://fizzy.localhost:3006/users/03f5v9zppzlksuj4mxba2nbzn" + "url": "http://app.fizzy.localhost:3006/users/03f5v9zppzlksuj4mxba2nbzn" } } ] diff --git a/docs/api/sections/notifications.md b/docs/api/sections/notifications.md index 9a4bdd562..6bddff141 100644 --- a/docs/api/sections/notifications.md +++ b/docs/api/sections/notifications.md @@ -24,15 +24,15 @@ __Response:__ "active": true, "email_address": "david@example.com", "created_at": "2025-12-05T19:36:35.401Z", - "url": "http://fizzy.localhost:3006/897362094/users/03f5v9zjw7pz8717a4no1h8a7" + "url": "http://app.fizzy.localhost:3006/897362094/users/03f5v9zjw7pz8717a4no1h8a7" }, "card": { "id": "03f5v9zo9qlcwwpyc0ascnikz", "title": "Plain text mentions", "status": "published", - "url": "http://fizzy.localhost:3006/897362094/cards/3" + "url": "http://app.fizzy.localhost:3006/897362094/cards/3" }, - "url": "http://fizzy.localhost:3006/897362094/notifications/03f5va03bpuvkcjemcxl73ho2" + "url": "http://app.fizzy.localhost:3006/897362094/notifications/03f5va03bpuvkcjemcxl73ho2" } ] ``` diff --git a/docs/api/sections/pins.md b/docs/api/sections/pins.md index 0df248698..19fecacb9 100644 --- a/docs/api/sections/pins.md +++ b/docs/api/sections/pins.md @@ -39,14 +39,14 @@ __Response:__ "golden": false, "last_active_at": "2025-12-05T19:38:48.553Z", "created_at": "2025-12-05T19:38:48.540Z", - "url": "http://fizzy.localhost:3006/897362094/cards/4", + "url": "http://app.fizzy.localhost:3006/897362094/cards/4", "board": { "id": "03f5v9zkft4hj9qq0lsn9ohcm", "name": "Fizzy", "all_access": true, "created_at": "2025-12-05T19:36:35.534Z", "auto_postpone_period_in_days": 30, - "url": "http://fizzy.localhost:3006/897362094/boards/03f5v9zkft4hj9qq0lsn9ohcm", + "url": "http://app.fizzy.localhost:3006/897362094/boards/03f5v9zkft4hj9qq0lsn9ohcm", "creator": { "id": "03f5v9zjw7pz8717a4no1h8a7", "name": "David Heinemeier Hansson", @@ -54,8 +54,8 @@ __Response:__ "active": true, "email_address": "david@example.com", "created_at": "2025-12-05T19:36:35.401Z", - "url": "http://fizzy.localhost:3006/897362094/users/03f5v9zjw7pz8717a4no1h8a7", - "avatar_url": "http://fizzy.localhost:3006/897362094/users/03f5v9zjw7pz8717a4no1h8a7/avatar" + "url": "http://app.fizzy.localhost:3006/897362094/users/03f5v9zjw7pz8717a4no1h8a7", + "avatar_url": "http://app.fizzy.localhost:3006/897362094/users/03f5v9zjw7pz8717a4no1h8a7/avatar" } }, "creator": { @@ -65,10 +65,10 @@ __Response:__ "active": true, "email_address": "david@example.com", "created_at": "2025-12-05T19:36:35.401Z", - "url": "http://fizzy.localhost:3006/897362094/users/03f5v9zjw7pz8717a4no1h8a7", - "avatar_url": "http://fizzy.localhost:3006/897362094/users/03f5v9zjw7pz8717a4no1h8a7/avatar" + "url": "http://app.fizzy.localhost:3006/897362094/users/03f5v9zjw7pz8717a4no1h8a7", + "avatar_url": "http://app.fizzy.localhost:3006/897362094/users/03f5v9zjw7pz8717a4no1h8a7/avatar" }, - "comments_url": "http://fizzy.localhost:3006/897362094/cards/4/comments" + "comments_url": "http://app.fizzy.localhost:3006/897362094/cards/4/comments" } ] ``` diff --git a/docs/api/sections/reactions.md b/docs/api/sections/reactions.md index 7ad7b5729..4eb5e78f0 100644 --- a/docs/api/sections/reactions.md +++ b/docs/api/sections/reactions.md @@ -22,9 +22,9 @@ __Response:__ "active": true, "email_address": "david@example.com", "created_at": "2025-12-05T19:36:35.401Z", - "url": "http://fizzy.localhost:3006/897362094/users/03f5v9zjw7pz8717a4no1h8a7" + "url": "http://app.fizzy.localhost:3006/897362094/users/03f5v9zjw7pz8717a4no1h8a7" }, - "url": "http://fizzy.localhost:3006/897362094/cards/3/reactions/03f5v9zo9qlcwwpyc0ascnikz" + "url": "http://app.fizzy.localhost:3006/897362094/cards/3/reactions/03f5v9zo9qlcwwpyc0ascnikz" } ] ``` @@ -81,9 +81,9 @@ __Response:__ "active": true, "email_address": "david@example.com", "created_at": "2025-12-05T19:36:35.401Z", - "url": "http://fizzy.localhost:3006/897362094/users/03f5v9zjw7pz8717a4no1h8a7" + "url": "http://app.fizzy.localhost:3006/897362094/users/03f5v9zjw7pz8717a4no1h8a7" }, - "url": "http://fizzy.localhost:3006/897362094/cards/3/comments/03f5v9zo9qlcwwpyc0ascnikz/reactions/03f5v9zo9qlcwwpyc0ascnikz" + "url": "http://app.fizzy.localhost:3006/897362094/cards/3/comments/03f5v9zo9qlcwwpyc0ascnikz/reactions/03f5v9zo9qlcwwpyc0ascnikz" } ] ``` diff --git a/docs/api/sections/tags.md b/docs/api/sections/tags.md index 4e1816341..89e1c4550 100644 --- a/docs/api/sections/tags.md +++ b/docs/api/sections/tags.md @@ -14,13 +14,13 @@ __Response:__ "id": "03f5v9zo9qlcwwpyc0ascnikz", "title": "bug", "created_at": "2025-12-05T19:36:35.534Z", - "url": "http://fizzy.localhost:3006/897362094/cards?tag_ids[]=03f5v9zo9qlcwwpyc0ascnikz" + "url": "http://app.fizzy.localhost:3006/897362094/cards?tag_ids[]=03f5v9zo9qlcwwpyc0ascnikz" }, { "id": "03f5v9zo9qlcwwpyc0ascnilz", "title": "feature", "created_at": "2025-12-05T19:36:35.534Z", - "url": "http://fizzy.localhost:3006/897362094/cards?tag_ids[]=03f5v9zo9qlcwwpyc0ascnilz" + "url": "http://app.fizzy.localhost:3006/897362094/cards?tag_ids[]=03f5v9zo9qlcwwpyc0ascnilz" } ] ``` diff --git a/docs/api/sections/users.md b/docs/api/sections/users.md index b30986c10..0d4d2889a 100644 --- a/docs/api/sections/users.md +++ b/docs/api/sections/users.md @@ -17,7 +17,7 @@ __Response:__ "active": true, "email_address": "david@example.com", "created_at": "2025-12-05T19:36:35.401Z", - "url": "http://fizzy.localhost:3006/897362094/users/03f5v9zjw7pz8717a4no1h8a7" + "url": "http://app.fizzy.localhost:3006/897362094/users/03f5v9zjw7pz8717a4no1h8a7" }, { "id": "03f5v9zjysoy0fqs9yg0ei3hq", @@ -26,7 +26,7 @@ __Response:__ "active": true, "email_address": "jason@example.com", "created_at": "2025-12-05T19:36:35.419Z", - "url": "http://fizzy.localhost:3006/897362094/users/03f5v9zjysoy0fqs9yg0ei3hq" + "url": "http://app.fizzy.localhost:3006/897362094/users/03f5v9zjysoy0fqs9yg0ei3hq" }, { "id": "03f5v9zk1dtqduod5bkhv3k8m", @@ -35,7 +35,7 @@ __Response:__ "active": true, "email_address": "jz@example.com", "created_at": "2025-12-05T19:36:35.435Z", - "url": "http://fizzy.localhost:3006/897362094/users/03f5v9zk1dtqduod5bkhv3k8m" + "url": "http://app.fizzy.localhost:3006/897362094/users/03f5v9zk1dtqduod5bkhv3k8m" }, { "id": "03f5v9zk3nw9ja92e7s4h2wbe", @@ -44,7 +44,7 @@ __Response:__ "active": true, "email_address": "kevin@example.com", "created_at": "2025-12-05T19:36:35.451Z", - "url": "http://fizzy.localhost:3006/897362094/users/03f5v9zk3nw9ja92e7s4h2wbe" + "url": "http://app.fizzy.localhost:3006/897362094/users/03f5v9zk3nw9ja92e7s4h2wbe" } ] ``` @@ -63,7 +63,7 @@ __Response:__ "active": true, "email_address": "david@example.com", "created_at": "2025-12-05T19:36:35.401Z", - "url": "http://fizzy.localhost:3006/897362094/users/03f5v9zjw7pz8717a4no1h8a7" + "url": "http://app.fizzy.localhost:3006/897362094/users/03f5v9zjw7pz8717a4no1h8a7" } ``` diff --git a/docs/api/sections/webhooks.md b/docs/api/sections/webhooks.md index 28eedfea7..a4f48b5b1 100644 --- a/docs/api/sections/webhooks.md +++ b/docs/api/sections/webhooks.md @@ -18,13 +18,13 @@ __Response:__ "signing_secret": "p94Bx2HjempCdYB4DTyZkY1b", "subscribed_actions": ["card_published", "card_assigned", "card_closed"], "created_at": "2025-12-05T19:36:35.534Z", - "url": "http://fizzy.localhost:3006/897362094/boards/03f5v9zkft4hj9qq0lsn9ohcy/webhooks/03f5v9zkft4hj9qq0lsn9ohcm", + "url": "http://app.fizzy.localhost:3006/897362094/boards/03f5v9zkft4hj9qq0lsn9ohcy/webhooks/03f5v9zkft4hj9qq0lsn9ohcm", "board": { "id": "03f5v9zkft4hj9qq0lsn9ohcy", "name": "Fizzy", "all_access": true, "created_at": "2025-12-05T19:36:35.534Z", - "url": "http://fizzy.localhost:3006/897362094/boards/03f5v9zkft4hj9qq0lsn9ohcy", + "url": "http://app.fizzy.localhost:3006/897362094/boards/03f5v9zkft4hj9qq0lsn9ohcy", "creator": { "id": "03f5v9zjw7pz8717a4no1h8a7", "name": "David Heinemeier Hansson", @@ -32,7 +32,7 @@ __Response:__ "active": true, "email_address": "david@example.com", "created_at": "2025-12-05T19:36:35.401Z", - "url": "http://fizzy.localhost:3006/897362094/users/03f5v9zjw7pz8717a4no1h8a7" + "url": "http://app.fizzy.localhost:3006/897362094/users/03f5v9zjw7pz8717a4no1h8a7" } } } @@ -70,7 +70,7 @@ __Response:__ ``` HTTP/1.1 201 Created -Location: http://fizzy.localhost:3006/897362094/boards/03f5v9zkft4hj9qq0lsn9ohcy/webhooks/03f5v9zkft4hj9qq0lsn9ohcm.json +Location: http://app.fizzy.localhost:3006/897362094/boards/03f5v9zkft4hj9qq0lsn9ohcy/webhooks/03f5v9zkft4hj9qq0lsn9ohcm.json ``` Returns the created webhook in the response body. @@ -151,7 +151,7 @@ __Response:__ "eventable": { "type": "Card", "id": "03f5v9zkft4hj9qq0lsn9ohdb", - "url": "http://fizzy.localhost:3006/897362094/cards/1" + "url": "http://app.fizzy.localhost:3006/897362094/cards/1" } } } diff --git a/docs/development.md b/docs/development.md index 8fa1e5467..3b7e16e90 100644 --- a/docs/development.md +++ b/docs/development.md @@ -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: