@webqit/webflo 0.20.18 → 0.20.20

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
@@ -12,7 +12,7 @@
12
12
  "vanila-javascript"
13
13
  ],
14
14
  "homepage": "https://webqit.io/tooling/webflo",
15
- "version": "0.20.18",
15
+ "version": "0.20.20",
16
16
  "license": "MIT",
17
17
  "repository": {
18
18
  "type": "git",
@@ -331,8 +331,6 @@ export class WebfloClient extends WebfloRuntime {
331
331
  this.#background.postMessage(url, { wqEventOptions: { type: 'navigate' } });
332
332
  }
333
333
 
334
- console.log('_______,', scopeObj.detail.navigationType);
335
-
336
334
  // Dispatch for response
337
335
  scopeObj.response = await this.dispatchNavigationEvent({
338
336
  httpEvent: scopeObj.httpEvent,
@@ -6,7 +6,7 @@ import {
6
6
  readClientConfig,
7
7
  readWorkerConfig,
8
8
  scanRoots,
9
- scanRouteHandlers,
9
+ scanRouteHandlers,
10
10
  } from '../../deployment-pi/util.js';
11
11
 
12
12
  export async function bootstrap(cx, offset = '') {
@@ -498,7 +498,7 @@ export class WebfloServer extends WebfloRuntime {
498
498
  const xRedirectCode = httpEvent.request.headers.get('X-Redirect-Code') || 300;
499
499
  const destinationURL = new URL(response.headers.get('Location'), httpEvent.url.origin);
500
500
  const isSameOriginRedirect = destinationURL.origin === httpEvent.url.origin;
501
- let isSameSpaRedirect = false;
501
+ let isSameSpaRedirect = true;
502
502
  if (isSameOriginRedirect && xRedirectPolicy === 'manual-when-cross-spa' && $sparoots.length) {
503
503
  // Longest-first sorting
504
504
  const sparoots = $sparoots.sort((a, b) => a.length > b.length ? -1 : 1);