mirror of
https://github.com/Lissy93/web-check.git
synced 2025-05-29 22:49:03 +02:00
Update condidional for skipping wc homepage for self-hosted users
This commit is contained in:
parent
8a7e431af5
commit
7557cb9b3a
@ -68,7 +68,7 @@ console.log(
|
|||||||
const redirects = {};
|
const redirects = {};
|
||||||
|
|
||||||
// Skip the marketing homepage for self-hosted users
|
// Skip the marketing homepage for self-hosted users
|
||||||
if (!isBossServer || isBossServer !== true) {
|
if (!isBossServer && isBossServer !== true) {
|
||||||
redirects['/'] = '/check';
|
redirects['/'] = '/check';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user