Archived
1
0

Switched to get instead of post for wol

This commit is contained in:
2022-12-16 14:53:01 -06:00
parent 4a01fe4b3b
commit ea8d98b940

View File

@@ -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);
});