Skip to content

Commit

Permalink
chore(Gruntfile): run webserver on 0.0.0.0
Browse files Browse the repository at this point in the history
... 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.
  • Loading branch information
IgorMinar committed Mar 11, 2013
1 parent 9befe37 commit 5fd39e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module.exports = function(grunt) {
devserver: {
options: {
port: 8000,
hostname: 'localhost',
hostname: '0.0.0.0',
base: '.',
keepalive: true,
middleware: function(connect, options){
Expand Down

0 comments on commit 5fd39e0

Please sign in to comment.