removed cors
Some checks failed
backend-action / build-image (push) Failing after 9s

This commit is contained in:
2024-05-10 09:04:31 +07:00
parent be42901480
commit 8854022fac
2 changed files with 0 additions and 3 deletions

View File

@@ -2,7 +2,6 @@ import { createContext, router } from "./trpc";
import { createHTTPServer } from "@trpc/server/adapters/standalone";
import { userRoute } from "./userRoute";
import { runPlayground } from "./playgroud";
import cors from "cors";
import { infoRoute } from "./infoRoute";
export const appRouter = router({
@@ -15,7 +14,6 @@ async function main() {
const server = createHTTPServer({
createContext: createContext,
router: appRouter,
middleware: cors(),
});
server.listen(3000);