Base url for cookies
This commit is contained in:
parent
6d694ee9ee
commit
d3d4119141
1 changed files with 6 additions and 1 deletions
|
@ -1,5 +1,10 @@
|
|||
import axios from 'axios';
|
||||
|
||||
export default axios.create({
|
||||
baseURL: 'http://localhost:8080/v1/api/'
|
||||
baseURL: 'http://api.sudosci.test:8080/v1/api/',
|
||||
withCredentials: true,
|
||||
headers: {
|
||||
'Accept': 'application/json',
|
||||
'Content-Type': 'application/json',
|
||||
}
|
||||
});
|
||||
|
|
Reference in a new issue