Skip to content

chore: 本番URLを furdrop.app に変更 + LPヒーロー画像のプレースホルダー差し替え - #81

Merged
kuu13580 merged 3 commits into
mainfrom
feature/production-url-furdrop-app
Jun 24, 2026
Merged

chore: 本番URLを furdrop.app に変更 + LPヒーロー画像のプレースホルダー差し替え#81
kuu13580 merged 3 commits into
mainfrom
feature/production-url-furdrop-app

Conversation

@kuu13580

@kuu13580 kuu13580 commented Jun 24, 2026

Copy link
Copy Markdown
Owner

本番ドメインを Cloudflare Pages のデフォルト furdrop.pages.dev から独自ドメイン furdrop.app へ移行し、あわせて LP ヒーローのプレースホルダー画像を release-trailer と統一します。

1. 本番URL変更 furdrop.pages.devfurdrop.app

ビルド時に自動置換される箇所

  • .env.prod / .env: VITE_PUBLIC_HOSTfurdrop.app に更新(本番・開発とも、dotenvx 再暗号化)。index.html%VITE_PUBLIC_HOST%(canonical / OGP / Schema.org の計6箇所)は generate:prod → Vite ビルドで置換され、dist/index.htmlhttps://furdrop.app に解決されることを確認済み

直接更新が必要な箇所(自動置換されない)

  • workers/r2-cors.json: R2 バケットの許可オリジンを https://furdrop.app に変更(CI の cors:prod で適用)
  • frontend/public/sitemap.xml / robots.txt: 静的ファイルのため直接更新
  • frontend/scripts/generate-og.py + frontend/public/og.png: OG 画像下部の URL バッジを furdrop.app に変更し、画像を再生成
  • GuidePage.tsx / LandingPage.tsx / ShotsPage.tsx: VITE_PUBLIC_HOST 未設定時のフォールバック値、および EXIF デモ表示を furdrop.app に更新

リリースPVの不整合修正

  • marketing/release-trailer/index.html: Scene 3 の表示 URL は既に furdrop.app/send/ だったが、QRコードの遷移先が furdrop.pages.dev のままで不一致だった。QR(preload / 実描画 / alt)を furdrop.app に統一

2. LP ヒーロー画像のプレースホルダー差し替え

  • frontend/src/pages/LandingPage.tsx: トップのヒーローにある PolaroidPhoto(4枚)のダミー(CSS グラデーション縞模様)を、release-trailer と同じ picsum.photos(Lorem Picsum) の画像に差し替え
    • gradientAngle プロップを廃止し seed を追加、object-cover で実画像を表示
    • シードは release-trailer と統一(mountain1 / ocean1 / forest1 / sunset1
    • 下部の手書き風キャプション(ファイル名)は維持

デプロイ後の手動確認が必要な項目(リポジトリ外)

  • Cloudflare Pages にカスタムドメイン furdrop.app を割り当て
  • Firebase Auth の「承認済みドメイン」に furdrop.app を追加(Twitter/Google OAuth のリダイレクトに必要)
  • R2 CORS が furdrop.app で適用されたか(CI cors:prod 後)

Test plan

  • デプロイ後、furdrop.app で送信フロー(URL発行→アップロード→受信ギャラリー表示)が通る
  • furdrop.app から R2 へのアップロード(PUT)が CORS で弾かれない
  • OGP プレビュー(Twitter/Slack 等)に新しい og.png(furdrop.app バッジ)と canonical が表示される
  • リリースPVの QR をスキャンすると furdrop.app に遷移する
  • LP トップのヒーロー写真(4枚)が picsum.photos の実画像で表示される

🤖 Generated with Claude Code

https://claude.ai/code/session_01J9Q5inTn4HLVjmmdHXxDt8

本番ドメインを独自ドメイン furdrop.app へ移行する。

- .env.prod: VITE_PUBLIC_HOST を furdrop.app に更新 (dotenvx)。
  index.html の %VITE_PUBLIC_HOST% (canonical / OGP / Schema.org) は
  generate:prod + Vite ビルドで自動置換される (dist で確認済み)
- workers/r2-cors.json: R2 の許可オリジンを furdrop.app に変更
- public/sitemap.xml, public/robots.txt: 静的ファイルのため直接更新
- scripts/generate-og.py + public/og.png: OG画像のURLバッジを再生成
- GuidePage / LandingPage / ShotsPage: VITE_PUBLIC_HOST 未設定時の
  フォールバック値と EXIF デモ表示を furdrop.app に更新
- marketing/release-trailer: Scene3 の表示URLが furdrop.app なのに
  QRコードは furdrop.pages.dev を指していた不整合を解消 (QRも furdrop.app へ)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J9Q5inTn4HLVjmmdHXxDt8
@coderabbitai

coderabbitai Bot commented Jun 24, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

公開ホスト参照を furdrop.pages.dev から furdrop.app に切り替えています。環境変数、R2 CORS、フロントエンドの既定ホスト表示、OG 画像、robots/sitemap、リリーストレーラーの URL が更新されています。

Changes

公開ホスト更新

Layer / File(s) Summary
ランタイム設定
.env.prod, workers/r2-cors.json
VITE_PUBLIC_HOST の暗号化値と R2 CORS の許可オリジンが furdrop.app に更新されています。
フロントエンドの既定ホスト
frontend/src/pages/GuidePage.tsx, frontend/src/pages/LandingPage.tsx, frontend/src/pages/__shots__/ShotsPage.tsx, frontend/scripts/generate-og.py
ガイド、ランディング、ショットページ、OG 画像生成スクリプトのホスト既定値と表示文字列が furdrop.app に更新されています。
公開資産
frontend/public/robots.txt, frontend/public/sitemap.xml, marketing/release-trailer/index.html
robots.txt、sitemap.xml、リリーストレーラー内の URL と QR 生成データが furdrop.app に更新されています。

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

  • kuu13580/furdrop#74: marketing/release-trailer/index.html の QR/URL 参照先を扱う変更と直接つながっています。

Poem

ぴょん、ぴょん、ぼくはうさぎ
住所はひとつ、furdrop.app
sitemap も QR も きらり
風にのって みんな同じ道
にんじん色の星でお祝い 🥕

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed 本番URLを furdrop.app に変更するという変更内容を端的に示しており、変更点の中心と一致しています。

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/production-url-furdrop-app

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@marketing/release-trailer/index.html`:
- Line 46: The QR code target is inconsistent with the displayed destination in
release-trailer, so update the `data=` value in the QR code URL to match the
visible `furdrop.app/send/` destination. Make the same fix in both places
referenced by the QR generation markup so the `href` content and the on-screen
URL stay aligned.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: dcd1be03-7397-4f20-8e7d-0cfbf6cf8f3e

📥 Commits

Reviewing files that changed from the base of the PR and between 6cb8c1d and c64df70.

⛔ Files ignored due to path filters (1)
  • frontend/public/og.png is excluded by !**/*.png
📒 Files selected for processing (9)
  • .env.prod
  • frontend/public/robots.txt
  • frontend/public/sitemap.xml
  • frontend/scripts/generate-og.py
  • frontend/src/pages/GuidePage.tsx
  • frontend/src/pages/LandingPage.tsx
  • frontend/src/pages/__shots__/ShotsPage.tsx
  • marketing/release-trailer/index.html
  • workers/r2-cors.json

Comment thread marketing/release-trailer/index.html
kuu13580 and others added 2 commits June 25, 2026 07:17
トップのヒーローにある PolaroidPhoto 4枚のダミー (CSS グラデーション縞模様)
を、release-trailer と同じ Lorem Picsum (picsum.photos) の画像に変更する。

- gradientAngle プロップを廃止し seed を追加、object-cover で実画像を表示
- シードは release-trailer と統一 (mountain1 / ocean1 / forest1 / sunset1)
- 下部の手書き風キャプション (ファイル名) は維持

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J9Q5inTn4HLVjmmdHXxDt8
本番 (.env.prod) に合わせ、開発用 .env のホストも furdrop.app に揃える。

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J9Q5inTn4HLVjmmdHXxDt8
@kuu13580 kuu13580 changed the title chore: 本番URLを furdrop.pages.dev から furdrop.app に変更 chore: 本番URLを furdrop.app に変更 + LPヒーロー画像のプレースホルダー差し替え Jun 24, 2026
@kuu13580
kuu13580 merged commit 0ecc3a3 into main Jun 24, 2026
6 checks passed
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.

1 participant