Archived
frontend: FunctionTabs en plusieurs components
This commit is contained in:
1 parent
53330095be
commit
b479e1501f
12 files changed
+114
-84
No files matched your search
@@ -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;
|
||||
@@ -0,0 +1 @@
|
||||
export const API_URL = "http://localhost:8080";
|
||||
Reference in new issue
Block a user