yakuza0 2.22.30-beta.6 → 2.22.30-beta.7
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/server/proxy/csrf.js +1 -2
package/package.json
CHANGED
package/server/proxy/csrf.js
CHANGED
|
@@ -274,7 +274,7 @@ exports.default = function () {
|
|
|
274
274
|
// referrerPolicy: { policy: "strict-origin-when-cross-origin" },
|
|
275
275
|
// referrerPolicy: yConf.stupid.referrerPolicy.policy,
|
|
276
276
|
// referrerPolicy: { policy: "origin-when-crossorigin" },
|
|
277
|
-
|
|
277
|
+
referrerPolicy: _config2.default.server.stupid.referrerPolicy
|
|
278
278
|
// crossOriginResourcePolicy: yConf.server.hm.crossOriginEmbedderPolicy,
|
|
279
279
|
// crossOriginEmbedderPolicy: true,
|
|
280
280
|
// crossOriginResourcePolicy: { policy: "cross-origin" },
|
|
@@ -300,7 +300,6 @@ exports.default = function () {
|
|
|
300
300
|
}
|
|
301
301
|
|
|
302
302
|
if (_config2.default.security.isStupid) {
|
|
303
|
-
helmetOptions.referrerPolicy = _config2.default.server.stupid.referrerPolicy;
|
|
304
303
|
// helmetOptions.crossOriginResourcePolicy = yConf.server.stupid.crossOriginResourcePolicy;
|
|
305
304
|
}
|
|
306
305
|
|