From de9d37fb5b7f3729181e271020ae6c2ed60c6293 Mon Sep 17 00:00:00 2001 From: uuuuuuuk Date: Fri, 8 Mar 2024 00:40:20 +0900 Subject: [PATCH 1/2] =?UTF-8?q?:memo:=20User=20=EC=97=94=ED=8B=B0=ED=8B=B0?= =?UTF-8?q?=EC=9D=98=20id=20=ED=95=84=EB=93=9C=EB=A5=BC=20var=20=EC=97=90?= =?UTF-8?q?=EC=84=9C=20val=20=EB=A1=9C=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/kotlin/andreas311/miso/domain/user/entity/User.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/andreas311/miso/domain/user/entity/User.kt b/src/main/kotlin/andreas311/miso/domain/user/entity/User.kt index bbafcf56..a706a63b 100644 --- a/src/main/kotlin/andreas311/miso/domain/user/entity/User.kt +++ b/src/main/kotlin/andreas311/miso/domain/user/entity/User.kt @@ -14,7 +14,7 @@ class User( @GeneratedValue(generator = "uuid2") @GenericGenerator(name = "uuid2", strategy = "uuid2") @Column(columnDefinition = "BINARY(16)") - var id: UUID, + val id: UUID, @Column(name = "email") val email: String, From 4349ae14a374c3f376f4335c11029a3d19d63e6e Mon Sep 17 00:00:00 2001 From: uuuuuuuk Date: Fri, 8 Mar 2024 00:40:54 +0900 Subject: [PATCH 2/2] =?UTF-8?q?:memo:=20WebMvcConfig=20=EC=97=90=20localho?= =?UTF-8?q?st=203000=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 c241cf7e..b37c2a28 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", "http://localhost:5173") + .allowedOrigins("https://miso-admin.vercel.app", "http://localhost:5173", "http://localhost:3000") .allowedMethods("*") .allowedHeaders("*") .allowCredentials(true)