Merge branch 'main' of https://gitlab2.istic.univ-rennes1.fr/tuvu/hackathon
This commit is contained in:
@@ -6,8 +6,7 @@ import { AdminDTO, AthleteDTO, CoachDTO } from "./classesDTO";
|
|||||||
|
|
||||||
|
|
||||||
const api = axios.create({
|
const api = axios.create({
|
||||||
// backend listens on 8081 and controllers are mounted at root (no /api prefix)
|
baseURL: "http://localhost:8081/api",
|
||||||
baseURL: "http://localhost:8081",
|
|
||||||
headers: {
|
headers: {
|
||||||
"Content-Type": "application/json",
|
"Content-Type": "application/json",
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user