maj port cors
This commit is contained in:
parent
1066697eed
commit
c644a1f2d5
3 changed files with 3 additions and 3 deletions
|
|
@ -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:80"
|
const val URL_ORIGIN: String = "http://localhost:*"
|
||||||
}
|
}
|
||||||
|
|
||||||
// Lister tous les matchs
|
// Lister tous les matchs
|
||||||
|
|
|
||||||
|
|
@ -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:80"
|
const val URL_ORIGIN: String = "http://localhost:*"
|
||||||
}
|
}
|
||||||
|
|
||||||
// Lister tous les joueurs
|
// Lister tous les joueurs
|
||||||
|
|
|
||||||
|
|
@ -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:80"
|
const val URL_ORIGIN: String = "http://localhost:*"
|
||||||
}
|
}
|
||||||
|
|
||||||
// Lister tous les arbitres
|
// Lister tous les arbitres
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue