mirror of
https://github.com/Corfirean/coa-server-manager.git
synced 2026-11-19 11:25:56 +00:00
feat(infra): enable production TLS for Phases 11-12 via coa-manager.duckdns.org
This commit is contained in:
1 parent
42c05c50e7
commit
1dc212968d
16 files changed
+251
-65
No files matched your search
@@ -226,7 +226,7 @@ export function BrowsePage() {
|
||||
</div>
|
||||
|
||||
<div className="mt-4 flex gap-2">
|
||||
<input aria-label={t("registry.url")} value={url} onChange={(e) => setUrl(e.target.value)} placeholder="https://registry.example" className="min-w-0 flex-1 rounded-md border border-line bg-card px-3 py-2 text-sm" />
|
||||
<input aria-label={t("registry.url")} value={url} onChange={(e) => setUrl(e.target.value)} placeholder="https://coa-manager.duckdns.org" className="min-w-0 flex-1 rounded-md border border-line bg-card px-3 py-2 text-sm" />
|
||||
<Button size="sm" disabled={url.trim() === (status?.url ?? "")} onClick={() => void realmRegistry.setUrl(url.trim() || null).then(refresh).catch((e) => setError(asUiError(e).technical))}>{t("registry.urlSave")}</Button>
|
||||
</div>
|
||||
{noUrl && <p className="mt-2 text-sm text-muted">{t("browse.noUrl")}</p>}
|
||||
|
||||
@@ -63,7 +63,7 @@ export function PublishCard({ serverId, serverName }: { serverId: string; server
|
||||
|
||||
<label htmlFor="registry-url" className="mt-4 block text-sm font-medium">{t("registry.url")}</label>
|
||||
<div className="mt-1 flex gap-2">
|
||||
<input id="registry-url" value={url} onChange={(e) => setUrl(e.target.value)} placeholder="https://registry.example" className="min-w-0 flex-1 rounded-md border border-line bg-card px-3 py-2" />
|
||||
<input id="registry-url" value={url} onChange={(e) => setUrl(e.target.value)} placeholder="https://coa-manager.duckdns.org" className="min-w-0 flex-1 rounded-md border border-line bg-card px-3 py-2" />
|
||||
<Button size="sm" disabled={busy || url.trim() === (status?.url ?? "")} onClick={() => void run(() => realmRegistry.setUrl(url.trim() || null))}>{t("registry.urlSave")}</Button>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in new issue
Block a user