Its working!

This commit is contained in:
Owen Schwartz 2024-10-06 22:09:30 -04:00
parent 800dcb6270
commit 143a3b756e
No known key found for this signature in database
GPG key ID: 8271FDFFD9E0CCBD
10 changed files with 81 additions and 15 deletions

View file

@ -2,8 +2,17 @@ import axios from "axios";
// const baseURL = `${window.location.protocol}//${window.location.host}/api/v1`;
export const api = axios.create({
baseURL: "http://localhost:3000/api/v1",
baseURL: "http://testing123.io:8081/api/v1",
timeout: 10000,
headers: {
"Content-Type": "application/json",
},
});
export const internal = axios.create({
baseURL: "http://pangolin:3000/api/v1",
timeout: 10000,
headers: {
"Content-Type": "application/json",