Hotfix: Nom des dossiers + Ajout /functions/slug

This commit is contained in:
Divlo
2020-03-21 23:54:08 +01:00
parent fd7fc44fe7
commit 60d6d56bba
105 changed files with 41 additions and 10 deletions

11
website/config/api.js Normal file
View File

@ -0,0 +1,11 @@
import axios from 'axios';
import { API_URL } from './config';
const api = axios.create({
baseURL: API_URL,
headers: {
'Content-Type': 'application/json'
}
});
export default api;

1
website/config/config.js Normal file
View File

@ -0,0 +1 @@
export const API_URL = "http://localhost:8080";