forked from MagicMirrorOrg/MagicMirror
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request MagicMirrorOrg#1915 from normankong/develop
Support HTTPS Magicmirror (resubmit)
- Loading branch information
Showing
4 changed files
with
20 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
var app = require("../js/app.js"); | ||
app.start(function(config) { | ||
var bindAddress = config.address ? config.address : "localhost"; | ||
console.log("\nReady to go! Please point your browser to: http://" + bindAddress + ":" + config.port); | ||
var httpType = config.useHttps ? "https" : "http"; | ||
console.log("\nReady to go! Please point your browser to: " + httpType + "://" + bindAddress + ":" + config.port); | ||
}); |