summaryrefslogtreecommitdiffstats
path: root/pyload/web/Gruntfile.js
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-12-15 14:00:42 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-12-15 14:00:42 +0100
commit8fbde7a43b4f838df0379fdb4acd791713b639b7 (patch)
treebb7e78afc6a34823e078ab64c6965321c6866e85 /pyload/web/Gruntfile.js
parentadded new file states (diff)
downloadpyload-8fbde7a43b4f838df0379fdb4acd791713b639b7.tar.xz
more options to get webUI through proxy working
Diffstat (limited to 'pyload/web/Gruntfile.js')
-rw-r--r--pyload/web/Gruntfile.js8
1 files changed, 5 insertions, 3 deletions
diff --git a/pyload/web/Gruntfile.js b/pyload/web/Gruntfile.js
index 0a97e7360..4711ca66d 100644
--- a/pyload/web/Gruntfile.js
+++ b/pyload/web/Gruntfile.js
@@ -21,7 +21,8 @@ module.exports = function(grunt) {
var yeomanConfig = {
app: 'app',
dist: 'dist',
- banner: '/* Copyright(c) 2008-2013 pyLoad Team */\n'
+ banner: '/* Copyright(c) 2008-2013 pyLoad Team */\n',
+ protocol: 'http'
};
grunt.initConfig({
@@ -50,7 +51,8 @@ module.exports = function(grunt) {
options: {
port: 9000,
// change this to '0.0.0.0' to access the server from outside
- hostname: 'localhost'
+ hostname: 'localhost',
+ protocol: '<%= yeoman.protocol %>'
},
livereload: {
options: {
@@ -85,7 +87,7 @@ module.exports = function(grunt) {
},
open: { // Opens the webbrowser
server: {
- path: 'http://localhost:<%= connect.options.port %>'
+ path: '<%= yeoman.protocol %>://localhost:<%= connect.options.port %>'
}
},
clean: {