Update condidional for skipping wc homepage for self-hosted users

This commit is contained in:
Alicia Sykes 2024-05-11 23:11:53 +01:00
parent 8a7e431af5
commit 7557cb9b3a

View File

@ -68,7 +68,7 @@ console.log(
const redirects = {};
// Skip the marketing homepage for self-hosted users
if (!isBossServer || isBossServer !== true) {
if (!isBossServer && isBossServer !== true) {
redirects['/'] = '/check';
}