fix: update API endpoint for QR campaign app
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
import axios from 'axios';
|
import axios from 'axios';
|
||||||
|
|
||||||
// Define the base URL for the API
|
// Define the base URL for the API
|
||||||
const API_URL = import.meta.env.VITE_API_URL || 'http://localhost:8080/api/v1';
|
const API_URL = import.meta.env.VITE_API_URL || 'http://api-qr.imphnen.dev/api/v1';
|
||||||
|
|
||||||
// Create a configured axios instance
|
// Create a configured axios instance
|
||||||
export const api = axios.create({
|
export const api = axios.create({
|
||||||
|
|||||||
Reference in New Issue
Block a user