7
src/api/HttpClient.js
Normal file
7
src/api/HttpClient.js
Normal file
@@ -0,0 +1,7 @@
|
||||
import axios from 'axios'
|
||||
|
||||
export default axios.create({
|
||||
baseURL: 'https://localhost:8080/',
|
||||
timeout: 1000,
|
||||
headers: { 'X-Custom-Header': 'foobar' }
|
||||
})
|
||||
Reference in New Issue
Block a user