Add more testing stuff
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { readdirSync, writeFileSync } from "node:fs";
|
||||
import { readdirSync } from "node:fs";
|
||||
import type { IncomingMessage, ServerResponse } from "node:http";
|
||||
import { root } from "#/vite.config.ts";
|
||||
|
||||
@@ -42,7 +42,7 @@ function get(req: IncomingMessage, res: ServerResponse): void {
|
||||
}
|
||||
}
|
||||
|
||||
function post(req: IncomingMessage, res: ServerResponse): void {
|
||||
function post(_req: IncomingMessage, _res: ServerResponse): void {
|
||||
// let body = "";
|
||||
// req.on("data", (chunk) => {
|
||||
// body += chunk.toString();
|
||||
|
||||
Reference in New Issue
Block a user