chore(frontend): Refactoring
Refactoring zodat de structuur van de authenticatieservice in de client duidelijker is.
This commit is contained in:
parent
a28ec22f29
commit
26d5c09bb4
19 changed files with 215 additions and 183 deletions
|
@ -1,7 +1,8 @@
|
|||
import axios from "axios";
|
||||
import {apiConfig} from "@/config.ts";
|
||||
|
||||
const apiClient = axios.create({
|
||||
baseURL: window.location.hostname == "localhost" ? "http://localhost:3000" : window.location.origin,
|
||||
baseURL: apiConfig.baseUrl,
|
||||
headers: {
|
||||
"Content-Type": "application/json",
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue