mirror of
https://github.com/Noratrieb/mx-3.git
synced 2026-01-15 07:45:06 +01:00
inital commit
This commit is contained in:
parent
425bb47e84
commit
3fb040df54
18 changed files with 213 additions and 118 deletions
10
src/AxiosInstance.ts
Normal file
10
src/AxiosInstance.ts
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import axios from "axios";
|
||||
|
||||
const axiosInstance = axios.create({
|
||||
baseURL: "https://api.srgssr.ch/mx3/v2",
|
||||
headers: {
|
||||
"content-type": "application/json",
|
||||
}
|
||||
});
|
||||
|
||||
export default axiosInstance;
|
||||
Loading…
Add table
Add a link
Reference in a new issue