maj port cors

This commit is contained in:
pedro 2025-06-03 09:36:58 +02:00
parent 1066697eed
commit c644a1f2d5
3 changed files with 3 additions and 3 deletions

View file

@ -11,7 +11,7 @@ import org.springframework.web.bind.annotation.*
class MatchRestController(private val matchService: MatchService) {
companion object {
const val URL_ORIGIN: String = "http://localhost:80"
const val URL_ORIGIN: String = "http://localhost:*"
}
// Lister tous les matchs

View file

@ -19,7 +19,7 @@ import org.springframework.web.bind.annotation.RestController
class PlayerRestController(private val playerService: PlayerService) {
companion object {
const val URL_ORIGIN: String = "http://localhost:80"
const val URL_ORIGIN: String = "http://localhost:*"
}
// Lister tous les joueurs

View file

@ -18,7 +18,7 @@ import org.springframework.web.bind.annotation.RestController
class RefereeRestController(private val refereeService: RefereeService) {
companion object {
const val URL_ORIGIN: String = "http://localhost:80"
const val URL_ORIGIN: String = "http://localhost:*"
}
// Lister tous les arbitres