1
0
mirror of https://github.com/stonith404/pingvin-share.git synced 2024-07-02 07:20:38 +02:00

Fix env variable name

This commit is contained in:
Elias Schneider 2022-05-02 22:57:44 +02:00
parent c02e9c4efb
commit b6b2948601
No known key found for this signature in database
GPG Key ID: D5EC1C72D93244FD

View File

@ -75,7 +75,7 @@ export default function Home() {
const router = useRouter();
if (isSignedIn) {
router.replace("/upload");
} else if (config.PUBLIC_DISABLE_HOME_PAGE) {
} else if (config.DISABLE_HOME_PAGE) {
router.replace("/auth/signIn");
} else {
return (