mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-06 00:27:24 +00:00
Support vanity subdomain URLs for nsite deployments
After deploying a named site, the adapter probes the gateway for vanity subdomain support via X-Nsite-* response headers. When the gateway confirms a vanity name (e.g. ditto.shakespeare.wtf), it is used as the primary deploy URL. Gracefully degrades to the canonical base36 URL when the gateway doesn't support vanity subdomains.
This commit is contained in:
2 files changed
+93
-2
No files matched your search
@@ -612,6 +612,7 @@ export function DeploySteps({ projectId, projectName, onClose }: DeployStepsProp
|
||||
<span className="font-medium">{nsiteVfsConfig.title}</span>
|
||||
</div>
|
||||
)}
|
||||
|
||||
<div className="flex justify-between">
|
||||
<span className="text-muted-foreground">Relays</span>
|
||||
<span className="font-medium">{relayCount} configured</span>
|
||||
@@ -798,6 +799,7 @@ export function DeploySteps({ projectId, projectName, onClose }: DeployStepsProp
|
||||
<ExternalLink className="h-4 w-4" />
|
||||
</Button>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div className="flex justify-end gap-2">
|
||||
|
||||
Reference in new issue
Block a user