25.12.0-alpha.0
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
||||
import express from "express";
|
||||
const API = express.Router();
|
||||
|
||||
import config from "../../config.js";
|
||||
import config from "../../config";
|
||||
|
||||
API.use(express.json());
|
||||
API.use(express.urlencoded({ extended: true }));
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import express from "express";
|
||||
const CommandExecute = express.Router();
|
||||
|
||||
import Commands from "../../scripts/commands/main.js";
|
||||
import Commands from "@/scripts/commands/main";
|
||||
|
||||
CommandExecute.post("/actions/command-execute", (req, res) => {
|
||||
try {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import express from "express";
|
||||
const Debug = express.Router();
|
||||
|
||||
import config from "../../config.js";
|
||||
import config from "../../config";
|
||||
|
||||
Debug.post("/actions/debug", (req, res, next) => {
|
||||
res.status(501)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import express from "express";
|
||||
const EventdayUeuse = express.Router();
|
||||
|
||||
import EventDays from "../../scripts/eventday.js";
|
||||
import EventDays from "@/scripts/eventday";
|
||||
|
||||
EventdayUeuse.post("/actions/eventday", (req, res) => {
|
||||
try {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import express from "express";
|
||||
const Token = express.Router();
|
||||
|
||||
import config from "../../config.js";
|
||||
import config from "../../config";
|
||||
|
||||
Token.post("/actions/token", (req, res, next) => {
|
||||
res.status(501)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import express from "express";
|
||||
const ueusePost = express.Router();
|
||||
|
||||
import config from "../../config.js";
|
||||
import config from "../../config";
|
||||
|
||||
ueusePost.use(express.json());
|
||||
ueusePost.use(express.urlencoded({ extended: true }));
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import express from "express";
|
||||
const WeatherUeuse = express.Router();
|
||||
|
||||
import { weatherNotice } from "../../scripts/weatherNotice.js";
|
||||
import { weatherNotice } from "@/scripts/weatherNotice";
|
||||
|
||||
WeatherUeuse.post("/actions/weather", (req, res) => {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user