mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-28 13:48:13 +02:00
set resource session as base domain cookie
This commit is contained in:
parent
41e531306d
commit
8178dd1525
13 changed files with 169 additions and 52 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue