chanded api names

This commit is contained in:
Jelaletdin12
2026-03-27 23:01:33 +05:00
parent 7dc9a5fbc7
commit 7c75205077
5 changed files with 10 additions and 3637 deletions

View File

@@ -9,7 +9,7 @@ export default defineConfig({
{
name: "data-api",
configureServer(server) {
server.middlewares.use("/api/data", (req, res, next) => {
server.middlewares.use("/frontend-api/data", (req, res, next) => {
if (req.method === "POST") {
let body = "";
req.on("data", (chunk) => { body += chunk; });