diff --git a/FencerJudgeBack/src/main/kotlin/fr/teamflash/fencerjudgeback/restControllers/MatchRestController.kt b/FencerJudgeBack/src/main/kotlin/fr/teamflash/fencerjudgeback/restControllers/MatchRestController.kt index 3909d02..eb45355 100644 --- a/FencerJudgeBack/src/main/kotlin/fr/teamflash/fencerjudgeback/restControllers/MatchRestController.kt +++ b/FencerJudgeBack/src/main/kotlin/fr/teamflash/fencerjudgeback/restControllers/MatchRestController.kt @@ -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 diff --git a/FencerJudgeBack/src/main/kotlin/fr/teamflash/fencerjudgeback/restControllers/PlayerRestController.kt b/FencerJudgeBack/src/main/kotlin/fr/teamflash/fencerjudgeback/restControllers/PlayerRestController.kt index 7218a97..96c6f87 100644 --- a/FencerJudgeBack/src/main/kotlin/fr/teamflash/fencerjudgeback/restControllers/PlayerRestController.kt +++ b/FencerJudgeBack/src/main/kotlin/fr/teamflash/fencerjudgeback/restControllers/PlayerRestController.kt @@ -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 diff --git a/FencerJudgeBack/src/main/kotlin/fr/teamflash/fencerjudgeback/restControllers/RefereeRestController.kt b/FencerJudgeBack/src/main/kotlin/fr/teamflash/fencerjudgeback/restControllers/RefereeRestController.kt index dd65fe7..4535561 100644 --- a/FencerJudgeBack/src/main/kotlin/fr/teamflash/fencerjudgeback/restControllers/RefereeRestController.kt +++ b/FencerJudgeBack/src/main/kotlin/fr/teamflash/fencerjudgeback/restControllers/RefereeRestController.kt @@ -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