Repository navigation
Pause public intake until storage safeguards are ready #5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,6 +5,11 @@ | |
|
|
||
| const status = document.getElementById('intake-status'); | ||
| const submit = document.getElementById('intake-submit'); | ||
| if (form.dataset.intakeEnabled !== 'true') { | ||
| submit.disabled = true; | ||
| status.textContent = 'Online requests are temporarily paused. Please email hello@ohgeec.com. Do not include passwords.'; | ||
| return; | ||
|
Comment on lines
+8
to
+11
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
When visitors follow the Useful? React with 👍 / 👎. |
||
| } | ||
| const params = new URLSearchParams(window.location.search); | ||
| const mode = params.get('mode'); | ||
| const serviceMode = document.getElementById('service-mode'); | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After the storage safeguards are installed, the documented activation procedure in
DEPLOY.md:20only setsPUBLIC_INTAKE_ENABLED=trueand recreates the intake container. This hard-coded client flag belongs to the separately deployed static site and has no connection to that environment variable, so following the runbook leaves the submit button permanently disabled even though the receiver is enabled; coordinate flipping and redeploying this attribute with server activation, or avoid the independent client-side gate.Useful? React with 👍 / 👎.