Repository navigation
feat: accounts を公開したので、ログインとアカウント管理の入口を普段から出す - #6
Merged
Merged
Conversation
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>
🚀 Deploying Preview to Cloudflare 🚀Preview Deployments by commit
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
なぜ
lumorphia/accounts を 2026-10-11 に公開した (Cloudflare Access を外した)。でも本番の lumorphia.com には、ログインとアカウント管理の入口が出ていない。#2 で「
LUMORPHIA_ACCOUNTS_OPEN=1でビルドしない限り隠す」としていて、Workers Builds にその変数が無いため。変えたこと
data-accounts-entry、ヘッダーのログイン・アカウントの案内・フッター) を普段から出し、lumorphia-accounts-originも入れる (account.jsがセッションを読み、ログインしていればメニューを出す。ADR-0014 のとおり)LUMORPHIA_ACCOUNTS_CLOSED=1で隠すWorkers Builds に
LUMORPHIA_ACCOUNTS_OPENを設定していても、もう読まない (消してよい)。確かめたこと
npm test(13 件)、npm run checkが通るnpm run buildで入口にhiddenが付かず、origin がhttps://accounts.lumorphia.comになる。LUMORPHIA_ACCOUNTS_CLOSED=1では 3 か所にhiddenが付き、origin が空になるdistをプレビューで開き、PC (1440px) とスマホ (390px) でヘッダーに「ログイン」が見え、https://accounts.lumorphia.com/loginを指すことを見た🤖 Generated with Claude Code