allowing dev server to run https (self signed)
@@ -11,6 +11,7 @@
"scripts": {
"install": "cd ../../ && npm install && cd Playground/ && npm install && cd ../Viewer && npm install && cd ../Tools/Gulp/",
"build": "gulp --max-old-space-size=8192 --tsLintFix",
- "start": "gulp run --max-old-space-size=8192"
+ "start": "gulp run --max-old-space-size=8192",
+ "start-public-ssl": "gulp run --max-old-space-size=8192 --public --ssl"
}
@@ -44,5 +44,9 @@ gulp.task("webserver", function() {
options.host = "0.0.0.0";
+ if (commandLineOptions.ssl) {
+ options.https = true;
+ }
+
connect.server(options);
});