Support new ChatGPT share paths

This commit is contained in:
Codex
2026-07-21 12:53:46 +00:00
parent 2020f8e356
commit 6a08638849
5 changed files with 57 additions and 7 deletions
+1 -1
View File
@@ -164,7 +164,7 @@ function renderShell(): void {
<section class="panel capture-panel">
<form id="capture-form" class="capture-form">
<label class="url-field">ChatGPT share URL<input name="sourceUrl" required inputmode="url" autocomplete="url" placeholder="https://chatgpt.com/share/…" /></label>
<label class="url-field">ChatGPT share URL<input name="sourceUrl" required inputmode="url" autocomplete="url" placeholder="https://chatgpt.com/s/t_…" /></label>
${isAdmin ? '<label class="slug-field">Custom slug<input name="slug" placeholder="Optional" /></label>' : ""}
<label class="retention-field">Keep for<select name="retentionDays" aria-label="Retention period"><option value="3" selected>3 days</option><option value="7">7 days</option><option value="10">10 days</option><option value="30">30 days</option></select></label>
<button class="primary" type="submit">Capture</button>