aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgor Minar2013-03-11 15:07:51 -0700
committerIgor Minar2013-03-11 15:26:50 -0700
commit5fd39e050b047fb5f4359eb3ebfde76f257b5ecf (patch)
treeabf8860cfd66ca0a5fafb97dca530ebe8cb4d423
parent9befe37014141fbfdf0cded318d28322fc058c13 (diff)
downloadangular.js-5fd39e050b047fb5f4359eb3ebfde76f257b5ecf.tar.bz2
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.
-rw-r--r--Gruntfile.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
index 75e1f8fb..eea8b8ab 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -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){