kopia lustrzana https://github.com/robhawkes/vizicities
Added hostname
To run vizicities on an external server (for example on Amazon EC2) you need to introduce the hostname which defaults to 'localhost'. To open the server for any IP address, one needs to enter either the external IP or '0.0.0.0'.0.1
rodzic
6d620b06d2
commit
59654eb004
|
@ -102,6 +102,8 @@ module.exports = function(grunt) {
|
|||
server: {
|
||||
options: {
|
||||
port: port,
|
||||
// change hostname to 0.0.0.0 to open it up
|
||||
hostname: 'localhost',
|
||||
base: '.',
|
||||
keepalive: true,
|
||||
debug: true
|
||||
|
@ -157,4 +159,4 @@ module.exports = function(grunt) {
|
|||
grunt.registerTask('test', ['jshint', 'mocha_phantomjs']);
|
||||
|
||||
grunt.task.run('notify_hooks');
|
||||
};
|
||||
};
|
||||
|
|
Ładowanie…
Reference in New Issue