@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
|
@@ -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,
|
|
@@ -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 =
|
|
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);
|