From 0cebed8923400280d02705af720afa6f86cfff21 Mon Sep 17 00:00:00 2001 From: taskylizard <75871323+taskylizard@users.noreply.github.com> Date: Sat, 4 Nov 2023 22:51:12 +0530 Subject: [PATCH] fuck cors --- nitro.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nitro.config.ts b/nitro.config.ts index c580cce97..13990ecaa 100644 --- a/nitro.config.ts +++ b/nitro.config.ts @@ -5,6 +5,6 @@ export default defineNitroConfig({ }, srcDir: ".vitepress", routeRules: { - "/*": { cors: false }, + "/": { cors: false }, }, });