set resource session as base domain cookie

This commit is contained in:
Milo Schwartz 2024-11-27 00:07:40 -05:00
parent 41e531306d
commit 8178dd1525
No known key found for this signature in database
13 changed files with 169 additions and 52 deletions

View file

@ -22,4 +22,12 @@ export const internal = axios.create({
},
});
export const priv = axios.create({
baseURL: `http://localhost:${process.env.SERVER_INTERNAL_PORT}/api/v1`,
timeout: 10000,
headers: {
"Content-Type": "application/json",
},
});
export default api;