|
@@ -2,7 +2,7 @@ import axios from 'axios'
|
|
|
|
|
|
|
|
// Create axios instance with base URL
|
|
// Create axios instance with base URL
|
|
|
const api = axios.create({
|
|
const api = axios.create({
|
|
|
- baseURL: 'http://localhost:8080',
|
|
|
|
|
|
|
+ baseURL: import.meta.env.VUE_APP_API_URL || 'http://localhost:8080',
|
|
|
timeout: 10000,
|
|
timeout: 10000,
|
|
|
headers: {
|
|
headers: {
|
|
|
'Content-Type': 'application/json'
|
|
'Content-Type': 'application/json'
|