mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-08-21 12:55:22 +00:00
More secure defaults.
Without config, listen only on looback interface. In sample config listen on any interface, but use an IP whitelist. Related to #950
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
*/
|
||||
|
||||
var port = 8080;
|
||||
var address = ""; // Default to listening on all interfaces
|
||||
var address = "localhost";
|
||||
if (typeof(mmPort) !== "undefined") {
|
||||
port = mmPort;
|
||||
}
|
||||
|
Reference in New Issue
Block a user