Update about hostname check
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user