This repository was archived by the owner on Nov 30, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 375
Prefixing Routes
Tyler King 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:
- Set the prefix
Either in
config/shopify-app.phpor ENV, set your prefix.
SHOPIFY_APP_PREFIX=app (all routes will now exist under /app)
- Update the API redirect
Either in
config/shopify-app.phpor ENV, set your prefix.
SHOPIFY_API_REDIRECT=app/authenticate (be sure to update your app settings in Shopify to reflect this URL as well).
road map
Welcome to the wiki!
Please see the homepage for a list of relevant pages.