diff --git a/src/resources/views/auth/token.blade.php b/src/resources/views/auth/token.blade.php index 797f5b8..5794e51 100644 --- a/src/resources/views/auth/token.blade.php +++ b/src/resources/views/auth/token.blade.php @@ -43,7 +43,7 @@ // If shopify is not defined, then we are not in a Shopify context redirect to the homepage as it if (typeof shopify === 'undefined') { - open("{{ route('home') }}", "_self"); + open("{{ route(\Osiset\ShopifyApp\Util::getShopifyConfig('route_names.home')) }}", "_self"); } shopify.idToken().then((token) => {