@rpcbase/server 0.25.0 → 0.26.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 -1
  2. package/package.json +1 -1
package/express/index.js CHANGED
@@ -29,7 +29,8 @@ module.exports = () => {
29
29
  // CORS
30
30
  const cors_origins = is_production ?
31
31
  [`*.${APP_DOMAIN}`, APP_DOMAIN] :
32
- [`http://localhost:${CLIENT_PORT}`, "localhost"]
32
+ [`http://localhost:*`, "localhost"]
33
+ // [`http://localhost:${CLIENT_PORT}`, "localhost"]
33
34
  console.log("SETUP CORS", cors_origins)
34
35
  app.use(cors({
35
36
  origin: cors_origins,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rpcbase/server",
3
- "version": "0.25.0",
3
+ "version": "0.26.0",
4
4
  "license": "SSPL-1.0",
5
5
  "main": "./index.js",
6
6
  "bin": {