Skip to content

Commit

Permalink
Merge pull request #489 from bounswe/develop-hotfix-deploy
Browse files Browse the repository at this point in the history
Hotfix attempt
  • Loading branch information
smelihportakal authored Nov 28, 2023
2 parents 9bdb8fe + 597e57e commit 246046e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class BackendApplication {
return object : WebMvcConfigurer {
override fun addCorsMappings(registry: CorsRegistry) {
registry.addMapping("/**")
.allowedOrigins("http://localhost:3000")
.allowedOrigins("http://localhost:3000", "http://game-lounge.com")
.allowedMethods("GET", "POST", "PUT", "DELETE", "OPTIONS")
.allowCredentials(true)
.allowedHeaders("*")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ data class GameDTO(
var totalRating: Int,
var countRating: Int,
var averageRating: Double,
var creationDate: Instant = Instant.now(),
var creationDate: Instant? = null,
var tags: List<TagDTO>,
var gamePicture: String? = null,
)

0 comments on commit 246046e

Please sign in to comment.