v8.0.2
This commit is contained in:
@@ -3,7 +3,7 @@ const WeatherUeuse = express.Router();
|
||||
|
||||
import { weatherNotice } from "../../scripts/weatherNotice.js";
|
||||
|
||||
WeatherUeuse.post("/actions/command-execute", (req, res) => {
|
||||
WeatherUeuse.post("/actions/weather", (req, res) => {
|
||||
try {
|
||||
(async () => {
|
||||
await weatherNotice();
|
||||
@@ -17,7 +17,7 @@ WeatherUeuse.post("/actions/command-execute", (req, res) => {
|
||||
}
|
||||
});
|
||||
|
||||
WeatherUeuse.get("/actions/command-execute", (req, res) => {
|
||||
WeatherUeuse.get("/actions/weather", (req, res) => {
|
||||
res.status(501)
|
||||
.send("POST Only");
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user