si
This commit is contained in:
@@ -1,9 +1,7 @@
|
||||
import axios from 'axios';
|
||||
|
||||
import { backendUrl } from './BackendURL';
|
||||
|
||||
const server = axios.create({
|
||||
baseURL: backendUrl,
|
||||
baseURL: import.meta.env.API_BASE_URL || 'http://localhost:5000/api',
|
||||
headers: {
|
||||
"Access-Control-Allow-Origin": "*",
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user