Skip to content

release: ログインの入口を出し、Cloudflare Web Analytics を CSP で許可する (#6, #7) - #8

Merged
t1nyb0x merged 2 commits into
mainfrom
develop
Oct 11, 2026
Merged

t1nyb0x merged 2 commits into
mainfrom
develop

Conversation

@t1nyb0x

@t1nyb0x t1nyb0x commented Oct 11, 2026

Copy link
Copy Markdown
Member

含むもの

main に入ると Workers Builds が作り直して配る。Workers Builds に LUMORPHIA_ACCOUNTS_OPEN を設定していても、もう読まない。

マージ

develop → main なので「Create a merge commit」で。

🤖 Generated with Claude Code

t1nyb0x and others added 2 commits October 11, 2026 18:22
accounts は 2026-10-11 に公開した (Cloudflare Access を外した)。これまでは
LUMORPHIA_ACCOUNTS_OPEN=1 でビルドしない限り入口を隠していたが、Workers Builds に
その変数が無く、本番のトップにログインの入口が出ていなかった。普段は出し、障害などで
accounts を閉じるときだけ LUMORPHIA_ACCOUNTS_CLOSED=1 でビルドして隠す。

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Cloudflare が配信のときに自動で差し込む Web Analytics のスクリプト
(static.cloudflareinsights.com) が script-src 'self' で止められ、本番のコンソールに
CSP の違反が出ていた。script-src に static.cloudflareinsights.com、connect-src に
計測の送り先の cloudflareinsights.com を足す (本番の _headers、プレビュー、README)。

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@cloudflare-workers-and-pages

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Failed ❌

View logs ↗
391099f 2026-10-11T09:29:01.313Z View logs ↗

@t1nyb0x
t1nyb0x merged commit 384469e into main Oct 11, 2026
1 of 2 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