maj port cors

This commit is contained in:
pedro 2025-06-03 09:31:34 +02:00
parent 6c1e7491d6
commit 1066697eed
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) { class MatchRestController(private val matchService: MatchService) {
companion object { companion object {
const val URL_ORIGIN: String = "http://localhost:8080" const val URL_ORIGIN: String = "http://localhost:80"
} }
// Lister tous les matchs // Lister tous les matchs

View file

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

View file

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