1. When you open an app and appUrl
is set to anything else than root, the app opens fine but the initial URL is not updated to match the appUrl
value.
For example, most of our apps have appUrl: /config
and when you open the app, the URL is still https://….saleor.cloud/dashboard/apps/QXBwOjU0OQ%3D%3D/app
instead of https://….saleor.cloud/dashboard/apps/QXBwOjU0OQ%3D%3D/app/config
.
- Open the app
- Notice the URL.

2. If your app has a link to "self" (i.e. the same address you're currently on), clicking on it changes the URL to what it was supposed to be in the first place.
- Open the app
- Click "Go to self"
- Notice how the dashboard URL was now updated even though the app URL didn't change.
routing_2.mp4
3. Refreshing the website now results in a 404 error because the iFrame URL is set to https://appurl.com/config/config
(notice double /config
).
- Open the app
- Click "Go to self"
- Refresh the page
- Notice the 404 error.
- Open the app
- Click "Go to 1"
- Click "back" in the browser
- Notice the 404 error
- Bonus: notice that "Forward" button in the browser is disabled (probably meaning that the routing history was replaced instead of pushed).
- Open the app
- Click "Go to redirects chain"
- Wait 4 seconds for two redirects to happen
- Notice how the URL was correctly updated.
- Click "back" in the browser.
- Notice the 404 error.
- Notice that the URL didn't change back to the previous one.