Add more information about caches

This commit is contained in:
Owen
2026-04-22 14:38:47 -07:00
parent c956e0d401
commit af5394d464
2 changed files with 12 additions and 1 deletions

View File

@@ -2908,6 +2908,7 @@
"maintenancePageTimeTitle": "Estimated Completion Time (Optional)", "maintenancePageTimeTitle": "Estimated Completion Time (Optional)",
"privateMaintenanceScreenTitle": "Private Placeholder Screen", "privateMaintenanceScreenTitle": "Private Placeholder Screen",
"privateMaintenanceScreenMessage": "This domain is being used on a private resource. Please connect using the Pangolin client to access this resource.", "privateMaintenanceScreenMessage": "This domain is being used on a private resource. Please connect using the Pangolin client to access this resource.",
"privateMaintenanceScreenSteps": "Once connected, if you are still seeing this message your browser's DNS cache may still point to the old address. To fix this: fully close and reopen your browser, then navigate back to this page.",
"maintenanceTime": "e.g., 2 hours, Nov 1 at 5:00 PM", "maintenanceTime": "e.g., 2 hours, Nov 1 at 5:00 PM",
"maintenanceEstimatedTimeDescription": "When you expect maintenance to be completed", "maintenanceEstimatedTimeDescription": "When you expect maintenance to be completed",
"editDomain": "Edit Domain", "editDomain": "Edit Domain",

View File

@@ -18,6 +18,7 @@ export default async function MaintenanceScreen() {
let title = t("privateMaintenanceScreenTitle"); let title = t("privateMaintenanceScreenTitle");
let message = t("privateMaintenanceScreenMessage"); let message = t("privateMaintenanceScreenMessage");
let steps = t("privateMaintenanceScreenSteps");
return ( return (
<div className="min-h-screen flex items-center justify-center p-4"> <div className="min-h-screen flex items-center justify-center p-4">
@@ -25,7 +26,16 @@ export default async function MaintenanceScreen() {
<CardHeader> <CardHeader>
<CardTitle>{title}</CardTitle> <CardTitle>{title}</CardTitle>
</CardHeader> </CardHeader>
<CardContent className="space-y-4">{message}</CardContent> <CardContent className="space-y-4">
<p>{message}</p>
<p className="text-sm text-muted-foreground">{steps}</p>
<a
href="https://docs.pangolin.net/manage/dns-cache"
className="text-sm text-primary hover:underline"
>
{t("learnMore")}
</a>
</CardContent>
</Card> </Card>
</div> </div>
); );