This commit is contained in:
amsyarasyiq 2024-02-09 10:14:57 +08:00
parent af13f7ba0b
commit 874af6b0c6

View file

@ -57,6 +57,7 @@ try {
include: [
"transform-classes",
"transform-arrow-functions",
"transform-block-scoping"
]
},
});
@ -88,7 +89,7 @@ try {
if (req.url === "/vendetta.js" || req.url === "/pyoncord.js" || req.url === "/pyondetta.js") {
await ctx.rebuild();
res.writeHead(200);
res.end(await readFile("./dist/pyoncord.js"), "utf-8");
res.end(await readFile("./dist/pyondetta.js"), "utf-8");
} else {
res.writeHead(404);
res.end();