Skip to content

Commit 5fd39e0

Browse files
committed
chore(Gruntfile): run webserver on 0.0.0.0
... so that we can access it from local VMs. The security risk of doing this is very low since only the current working directory is being made accessible to everyone. There is also an option to run a local firewall, which is a better way to secure the developer's machine anyway.
1 parent 9befe37 commit 5fd39e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Gruntfile.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ module.exports = function(grunt) {
2525
devserver: {
2626
options: {
2727
port: 8000,
28-
hostname: 'localhost',
28+
hostname: '0.0.0.0',
2929
base: '.',
3030
keepalive: true,
3131
middleware: function(connect, options){

0 commit comments

Comments
 (0)