mirror of
https://github.com/stonith404/pingvin-share.git
synced 2024-10-02 09:30:10 +02:00
Fix env variable name
This commit is contained in:
parent
c02e9c4efb
commit
b6b2948601
@ -75,7 +75,7 @@ export default function Home() {
|
|||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
if (isSignedIn) {
|
if (isSignedIn) {
|
||||||
router.replace("/upload");
|
router.replace("/upload");
|
||||||
} else if (config.PUBLIC_DISABLE_HOME_PAGE) {
|
} else if (config.DISABLE_HOME_PAGE) {
|
||||||
router.replace("/auth/signIn");
|
router.replace("/auth/signIn");
|
||||||
} else {
|
} else {
|
||||||
return (
|
return (
|
||||||
|
Loading…
Reference in New Issue
Block a user