diff --git a/app/backend/src/main/kotlin/com/gamelounge/backend/BackendApplication.kt b/app/backend/src/main/kotlin/com/gamelounge/backend/BackendApplication.kt index 9ddc2666..4e8d98da 100644 --- a/app/backend/src/main/kotlin/com/gamelounge/backend/BackendApplication.kt +++ b/app/backend/src/main/kotlin/com/gamelounge/backend/BackendApplication.kt @@ -18,7 +18,7 @@ class BackendApplication (val userRepository: UserRepository){ return object : WebMvcConfigurer { override fun addCorsMappings(registry: CorsRegistry) { registry.addMapping("/**") - .allowedOrigins("http://localhost:3000", "http://game-lounge.com", "http://167.99.242.175") + .allowedOrigins("http://localhost:3000", "http://game-lounge.com", "http://167.99.242.175", "http://167.99.242.175:3000") .allowedMethods("GET", "POST", "PUT", "DELETE", "OPTIONS") .allowCredentials(true) .allowedHeaders("*")