@saltcorn/mobile-app 0.8.6 → 0.8.7-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@saltcorn/mobile-app",
3
3
  "displayName": "Saltcorn mobile app",
4
- "version": "0.8.6",
4
+ "version": "0.8.7-beta.1",
5
5
  "description": "Apache Cordova application with @saltcorn/markup",
6
6
  "main": "index.js",
7
7
  "scripts": {
@@ -201,7 +201,7 @@ async function handleRoute(route, query, files) {
201
201
  clearHistory();
202
202
  await gotoEntryView();
203
203
  } else {
204
- if (route === "/") return await gotoEntryView();
204
+ if (route === "/" || route === "get") return await gotoEntryView();
205
205
  const safeRoute = route ? route : currentLocation();
206
206
  addRoute({ route: safeRoute, query });
207
207
  const page = await router.resolve({