- Moved api folder and added alias to avoid ../../../ memes, also deleted useless files

This commit is contained in:
Alexis
2020-06-16 15:31:38 +02:00
parent 82bbf9f7bb
commit df9e857343
14 changed files with 15 additions and 14 deletions

9
client/src/api/api.js Normal file
View File

@@ -0,0 +1,9 @@
import axios from "axios"
const url = "http://localhost:2814/api"
axios.defaults.headers.common['auracle_key'] = process.env.VUE_APP_API_KEY
export default axios.create({
baseURL: url
})