@rpcbase/server 0.77.0 → 0.78.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 +2 -2
package/express/index.js CHANGED
@@ -29,7 +29,7 @@ module.exports = () => {
29
29
  res.set("Cache-Control", "no-store")
30
30
  next()
31
31
  })
32
-
32
+ console.log("\nwowowowow\nwowowoowo\nlfdkfdskfjlkfjdskfjds\n\n")
33
33
  // CORS
34
34
  const cors_origins = is_production ?
35
35
  // https://stackoverflow.com/questions/14003332/access-control-allow-origin-wildcard-subdomains-ports-and-protocols
@@ -43,6 +43,7 @@ module.exports = () => {
43
43
  // local dev origins
44
44
  [
45
45
  `http://localhost:${CLIENT_PORT}`,
46
+ `http://admin.localhost:${CLIENT_PORT}`,
46
47
  // WARNING: hardcoded port
47
48
  "http://localhost:8090", // TMP: used by inspected app from admin
48
49
  "http://localhost:9292", // TMP
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rpcbase/server",
3
- "version": "0.77.0",
3
+ "version": "0.78.0",
4
4
  "license": "SSPL-1.0",
5
5
  "main": "./index.js",
6
6
  "bin": {
@@ -23,7 +23,7 @@
23
23
  "lodash": "4.17.21",
24
24
  "mongoose": "6.4.0",
25
25
  "picocolors": "1.0.0",
26
- "postmark": "3.0.11",
26
+ "postmark": "3.0.12",
27
27
  "redis": "4.1.0",
28
28
  "validator": "13.7.0",
29
29
  "yargs": "17.5.1"