mirror of
https://github.com/Lissy93/web-check.git
synced 2025-08-16 07:38:08 +02:00
Update condidional for skipping wc homepage for self-hosted users
This commit is contained in:
@ -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';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user