This repository has been archived by the owner on Nov 30, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 374
Prefixing Routes
Stew Dellow edited this page Jul 18, 2019
·
4 revisions
By default, all routes are under the root /
. If you would like your routes to exist under something like /backend
or /app
, please follow these steps:
Either in config/shopify-app.php
or ENV, set your prefix.
SHOPIFY_APP_PREFIX=app
(all routes will now exist under /app
)
Either in config/shopify-app.php
or ENV, update the API redirect to match.
SHOPIFY_API_REDIRECT=app/authenticate
(be sure to update your app settings in Shopify to reflect this URL as well).
If you are using billing you will need to update the billing redirect. Either in config/shopify-app.php
or ENV.
SHOPIFY_BILLING_REDIRECT=app/billing/process
road map
Welcome to the wiki!
Please see the homepage for a list of relevant pages.