vaderjs 1.3.3-alpha-137 → 1.3.3-alpha-138
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/runtime/router.js +1 -2
package/package.json
CHANGED
package/runtime/router.js
CHANGED
|
@@ -203,8 +203,7 @@ class VaderRouter{
|
|
|
203
203
|
if (!route) {
|
|
204
204
|
route = window.routes.find((errorRoute) => {
|
|
205
205
|
if (errorRoute.url.includes('/404') && !this.error && !window.devMode) {
|
|
206
|
-
|
|
207
|
-
window.dispatchEvent(new Event('popstate'));
|
|
206
|
+
console.log(this.routes)
|
|
208
207
|
this.error = true;
|
|
209
208
|
return false
|
|
210
209
|
|