Skip to content

Commit 95a6237

Browse files
committed
fix: respect the $PORT environment variable
1 parent ba963af commit 95a6237

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "When you need a file, but the headers ain't good, who you gonna call? CORS Buster!",
55
"main": "index.js",
66
"scripts": {
7-
"start": "micro",
7+
"start": "cross-env micro --listen=tcp://0.0.0.0:$PORT",
88
"dev": "micro-dev"
99
},
1010
"keywords": [],
@@ -15,6 +15,7 @@
1515
"url": "git://github.com/wmhilton/cors-buster.git"
1616
},
1717
"dependencies": {
18+
"cross-env": "^5.1.4",
1819
"micro": "^9.1.4",
1920
"node-fetch": "^2.1.2"
2021
},

0 commit comments

Comments
 (0)