Update about hostname check

This commit is contained in:
Luck
2025-08-27 22:03:38 +01:00
parent 226b309df1
commit 92e51b63be

View File

@@ -30,7 +30,7 @@ export default function About({
}: { }: {
setVisible: (show: boolean) => void; setVisible: (show: boolean) => void;
}) { }) {
const official = window.location.hostname === 'localhost'; const official = window.location.hostname === 'pastes.dev';
const [showTos, setShowTos] = useState<boolean>(false); const [showTos, setShowTos] = useState<boolean>(false);
if (showTos) { if (showTos) {