👌 IMPROVE: Gestion erreur images fonctions
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
import axios from 'axios';
|
||||
import { API_URL } from './config';
|
||||
import { API_URL } from './config/config';
|
||||
|
||||
const api = axios.create({
|
||||
baseURL: API_URL,
|
||||
|
1
website/utils/config/config.js
Normal file
1
website/utils/config/config.js
Normal file
@ -0,0 +1 @@
|
||||
export const API_URL = "http://localhost:8080";
|
1
website/utils/config/config.prod.js
Normal file
1
website/utils/config/config.prod.js
Normal file
@ -0,0 +1 @@
|
||||
export const API_URL = "https://api.function.divlo.fr";
|
Reference in New Issue
Block a user