Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Commit caadfb8

Browse files
Paul Melnikowpetebacondarwin
Paul Melnikow
authored andcommitted
fix(package.json): bind web server only to localhost
It's better to bind to localhost only during development, since it improves security. It also avoids a pesky warning under Mac OS. Closes #165
1 parent 856f32b commit caadfb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"postinstall": "bower install",
1717

1818
"prestart": "npm install",
19-
"start": "http-server -p 8000",
19+
"start": "http-server -a localhost -p 8000",
2020

2121
"pretest": "npm install",
2222
"test": "karma start test/karma.conf.js",

0 commit comments

Comments
 (0)