Changed publicUrl to constant uptime type and changed "Public link" text

This commit is contained in:
Nicholas Liu
2025-05-05 10:23:02 -07:00
parent cb113f642a
commit f31669b341
2 changed files with 2 additions and 5 deletions

View File

@@ -88,10 +88,7 @@ const ControlsHeader = ({
}) => {
const theme = useTheme();
const { t } = useTranslation();
const publicUrl =
type === "uptime"
? `/status/uptime/public/${url}`
: `/status/distributed/public/${url}`;
const publicUrl = `/status/uptime/public/${url}`;
return (
<Stack

View File

@@ -411,5 +411,5 @@
"noFileSelected": "No file selected",
"fallbackPage": "Import a file to upload a list of servers in bulk"
},
"publicLink": "Public Link"
"publicLink": "Public link"
}