Switched to get instead of post for wol
This commit is contained in:
@@ -95,7 +95,7 @@ app.post("/sui/api/appUpdate", jsonParser, (req, res) => {
|
||||
res.status(200).send(applications.apps)
|
||||
});
|
||||
|
||||
app.post("/sui/api/wakeDakota", (req, res) => {
|
||||
app.get("/sui/api/wakeDakota", (req, res) => {
|
||||
wol.wake('18:C0:4D:81:57:68', function(err, res){
|
||||
console.log(res);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user