@fy-/fws-vue 2.3.99 → 2.4.0

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.
@@ -63,8 +63,9 @@ export async function initVueServer(
63
63
  },
64
64
  }
65
65
 
66
- if (url !== serverRouter.route.fullPath) {
67
- result.redirect = serverRouter.route.value.fullPath
66
+ const resolvedRoute = serverRouter.route
67
+ if (resolvedRoute && url !== resolvedRoute.fullPath) {
68
+ result.redirect = resolvedRoute.fullPath
68
69
  result.statusCode = 307
69
70
  callback(result)
70
71
  return result
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fy-/fws-vue",
3
- "version": "2.3.99",
3
+ "version": "2.4.0",
4
4
  "author": "Florian 'Fy' Gasquez <m@fy.to>",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/fy-to/FWJS#readme",