mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-09-13 23:55:11 +00:00
Added clientonly script
Added clientonly script to have server and client run at different locations
This commit is contained in:
@@ -62,6 +62,9 @@ var Server = function(config, callback) {
|
||||
}
|
||||
html = html.replace("#CONFIG_FILE#", configFile);
|
||||
|
||||
// Set a temporary cookie called "config" to the JSON encoded config object
|
||||
res.cookie("config", JSON.stringify(config));
|
||||
|
||||
res.send(html);
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user