@rpcbase/server 0.144.0 → 0.145.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.
Files changed (2) hide show
  1. package/express/index.js +2 -2
  2. package/package.json +1 -1
package/express/index.js CHANGED
@@ -58,11 +58,11 @@ module.exports = () => {
58
58
  // TODO: WARNING: TMP hardcoded port
59
59
  "http://localhost:8090", // TMP: used by inspected app from admin
60
60
  "http://localhost:9292", // TMP
61
- "localhost",
62
61
  ]
63
62
 
64
63
  if (APP_DOMAIN) {
65
- cors_origins.push(APP_DOMAIN)
64
+ cors_origins.push(`http://${APP_DOMAIN}`)
65
+ cors_origins.push(`https://${APP_DOMAIN}`)
66
66
  }
67
67
 
68
68
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rpcbase/server",
3
- "version": "0.144.0",
3
+ "version": "0.145.0",
4
4
  "license": "SSPL-1.0",
5
5
  "main": "./index.js",
6
6
  "bin": {