RubyGems
npm
Organizations
Log in
Sign up
npm
@nzz/q-cli
Versions diffs
1.5.5 → 1.5.6
@nzz/q-cli 1.5.5 → 1.5.6
Sign up to get
free
protection for your applications and to get access to all the features.
Files changed (2)
hide
show
package/dev-server/server.js
+3
-0
package/package.json
+1
-1
package/dev-server/server.js
CHANGED
Viewed
@@ -5,6 +5,9 @@ const Path = require("path");
5
5
const server = new Hapi.Server({
6
6
port: process.env.PORT || 5000,
7
7
routes: {
8
+
cors: {
9
+
origin: ["*"],
10
+
},
8
11
files: {
9
12
relativeTo: Path.join(__dirname, "public"),
10
13
},
package/package.json
CHANGED
Viewed
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "@nzz/q-cli",
3
-
"version": "1.5.
5
",
3
+
"version": "1.5.
6
",
4
4
"description": "Cli tool to setup new Q tools, new Q server implementations and start Q dev server to test developing Q tools",
5
5
"main": "index.js",
6
6
"scripts": {