@rpcbase/server 0.146.0 → 0.147.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.
@@ -71,10 +71,12 @@ setTimeout(async() => {
71
71
  }
72
72
  }
73
73
 
74
- if (CONTAINER_MODE !== "native" && typeof APP_DOMAIN === "string" && APP_DOMAIN.trim() !== "") {
75
- log("SETTING COOKIE DOMAIN TO", APP_DOMAIN)
76
- session_config.cookie.domain = APP_DOMAIN
77
- }
74
+ // WARNING: apparently doesn't work on localhost or .local domains
75
+ // https://stackoverflow.com/questions/1134290/cookies-on-localhost-with-explicit-domain
76
+ // if (CONTAINER_MODE !== "native" && typeof APP_DOMAIN === "string" && APP_DOMAIN.trim() !== "") {
77
+ // log("SETTING COOKIE DOMAIN TO", APP_DOMAIN)
78
+ // session_config.cookie.domain = APP_DOMAIN
79
+ // }
78
80
 
79
81
  session_middleware = session(session_config)
80
82
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rpcbase/server",
3
- "version": "0.146.0",
3
+ "version": "0.147.0",
4
4
  "license": "SSPL-1.0",
5
5
  "main": "./index.js",
6
6
  "bin": {