diff --git a/packages/builder/src/pages/builder/index.svelte b/packages/builder/src/pages/builder/index.svelte index 9638707169..fba581a046 100644 --- a/packages/builder/src/pages/builder/index.svelte +++ b/packages/builder/src/pages/builder/index.svelte @@ -8,7 +8,7 @@ if (!$auth.user) { $redirect(`./auth`) } else if ($auth.user.builder?.global) { - $redirect(`./portal}`) + $redirect(`./portal`) } else { $redirect(`./apps`) } diff --git a/packages/worker/src/api/controllers/global/configs.js b/packages/worker/src/api/controllers/global/configs.js index 7cd03c728a..b48de48fef 100644 --- a/packages/worker/src/api/controllers/global/configs.js +++ b/packages/worker/src/api/controllers/global/configs.js @@ -148,8 +148,8 @@ exports.publicSettings = async function (ctx) { // google button flag if (googleConfig && googleConfig.config) { // activated by default for configs pre-activated flag - config.config.google = googleConfig.config.activated == null || - googleConfig.config.activated + config.config.google = + googleConfig.config.activated == null || googleConfig.config.activated } else { config.config.google = false }