@rpcbase/server 0.109.0 → 0.110.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.
package/cli/run_native.js CHANGED
@@ -56,9 +56,9 @@ const init_processes = (args) => {
56
56
  cmd: ["yarn", ["dev"]]
57
57
  },
58
58
  {
59
- name: "queue",
59
+ name: "worker",
60
60
  dirs: [],
61
- cmd: ["yarn", ["dev-queue"]]
61
+ cmd: ["yarn", ["dev-worker"]]
62
62
  },
63
63
  // mongodb database
64
64
  {
package/express/index.js CHANGED
@@ -48,6 +48,8 @@ module.exports = () => {
48
48
  // local dev origins
49
49
  [
50
50
  `http://localhost:${CLIENT_PORT}`,
51
+ `http://192.168.1.83:${CLIENT_PORT}`,
52
+ `http://192.168.1.140:${CLIENT_PORT}`,
51
53
  `http://admin.localhost:${CLIENT_PORT}`,
52
54
  // WARNING: hardcoded port
53
55
  "http://localhost:8090", // TMP: used by inspected app from admin
@@ -55,11 +57,10 @@ module.exports = () => {
55
57
  "localhost",
56
58
  ]
57
59
 
58
-
59
60
  app.use(cors({
60
61
  origin: cors_origins,
61
62
  methods: ["GET", "POST"],
62
- credentials: true // enable set-cookie
63
+ credentials: true // IMPORTANT: required to enable set-cookie
63
64
  }))
64
65
 
65
66
  app.use(session_middleware)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rpcbase/server",
3
- "version": "0.109.0",
3
+ "version": "0.110.0",
4
4
  "license": "SSPL-1.0",
5
5
  "main": "./index.js",
6
6
  "bin": {