© 2026 Hedgehog Software, LLC
export default defineNuxtRouteMiddleware(async (to) => { if (unauthorizedPaths.includes(to.path)) return; const merchantStore = useMerchantStore(); if (merchantStore.currentMerchant) return; return navigateTo('/welcome'); });