pinokiod 3.16.0 → 3.16.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 +1 -1
- package/server/views/app.ejs +5 -1
package/package.json
CHANGED
package/server/views/app.ejs
CHANGED
|
@@ -1703,7 +1703,11 @@ body.dark .appcanvas {
|
|
|
1703
1703
|
// clicked dev mode menu => switch to dev
|
|
1704
1704
|
// run mode => switch to dev mode
|
|
1705
1705
|
location.hash = ""
|
|
1706
|
-
location.pathname
|
|
1706
|
+
if (location.pathname.endsWith("/")) {
|
|
1707
|
+
location.pathname = location.pathname + "dev"
|
|
1708
|
+
} else {
|
|
1709
|
+
location.pathname = location.pathname + "/dev"
|
|
1710
|
+
}
|
|
1707
1711
|
} else {
|
|
1708
1712
|
// regular menu
|
|
1709
1713
|
target.closest(".nested-menu").querySelector(".submenu").classList.toggle("hidden")
|