From 8f8991e279e1bec5962982095d27d8f7ae99de69 Mon Sep 17 00:00:00 2001 From: uuuuuuuk Date: Mon, 15 Jan 2024 18:39:20 +0900 Subject: [PATCH] =?UTF-8?q?:memo:=20Cors=20=EC=84=A4=EC=A0=95=20url=20?= =?UTF-8?q?=EC=97=90=20localhost=20url=20=EC=9D=84=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../kotlin/andreas311/miso/global/config/web/WebMvcConfig.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/andreas311/miso/global/config/web/WebMvcConfig.kt b/src/main/kotlin/andreas311/miso/global/config/web/WebMvcConfig.kt index b40aea66..c241cf7e 100644 --- a/src/main/kotlin/andreas311/miso/global/config/web/WebMvcConfig.kt +++ b/src/main/kotlin/andreas311/miso/global/config/web/WebMvcConfig.kt @@ -10,7 +10,7 @@ class WebMvcConfig : WebMvcConfigurer { override fun addCorsMappings(registry: CorsRegistry) { registry.addMapping("/**") - .allowedOrigins("https://miso-admin.vercel.app") + .allowedOrigins("https://miso-admin.vercel.app", "http://localhost:5173") .allowedMethods("*") .allowedHeaders("*") .allowCredentials(true)