Registration and activation
This commit is contained in:
10
frontend/src/utils/axios.js
Normal file
10
frontend/src/utils/axios.js
Normal file
@@ -0,0 +1,10 @@
|
||||
import axios from 'axios';
|
||||
|
||||
const apiClient = axios.create({
|
||||
baseURL: process.env.VUE_APP_API_BASE_URL || 'http://localhost:3001',
|
||||
headers: {
|
||||
'Content-Type': 'application/json'
|
||||
}
|
||||
});
|
||||
|
||||
export default apiClient;
|
||||
Reference in New Issue
Block a user