neoagent 2.1.18-beta.82 → 2.1.18-beta.83
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
|
@@ -173,10 +173,13 @@ function applyHttpMiddleware(app, { secureCookies, trustProxy, sessionMiddleware
|
|
|
173
173
|
origin(origin, originCallback) {
|
|
174
174
|
const allowBrowserExtensionOrigin = isBrowserExtensionCorsPath(requestPath);
|
|
175
175
|
const allowSocketIoMissingOrigin = isSocketIoCorsPath(requestPath);
|
|
176
|
-
|
|
176
|
+
const originOptions = {
|
|
177
177
|
allowChromeExtension: allowBrowserExtensionOrigin,
|
|
178
|
-
|
|
179
|
-
|
|
178
|
+
};
|
|
179
|
+
if (allowBrowserExtensionOrigin || allowSocketIoMissingOrigin) {
|
|
180
|
+
originOptions.allowMissingOrigin = true;
|
|
181
|
+
}
|
|
182
|
+
return validateOrigin(origin, originCallback, originOptions);
|
|
180
183
|
},
|
|
181
184
|
credentials: true,
|
|
182
185
|
});
|
|
@@ -37,6 +37,6 @@ _flutter.buildConfig = {"engineRevision":"59aa584fdf100e6c78c785d8a5b565d1de4b48
|
|
|
37
37
|
|
|
38
38
|
_flutter.loader.load({
|
|
39
39
|
serviceWorkerSettings: {
|
|
40
|
-
serviceWorkerVersion: "
|
|
40
|
+
serviceWorkerVersion: "158655135" /* Flutter's service worker is deprecated and will be removed in a future Flutter release. */
|
|
41
41
|
}
|
|
42
42
|
});
|