This commit is contained in:
2025-08-07 08:56:49 +09:00
parent d20f630e1b
commit 2b53b8cd3d
4 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -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");
});