This repository has been archived on 2021-07-29. You can view files and clone it, but cannot push or open issues or pull requests.
find_coach/src/scripts/axios-auth.js
Andreas Zweili 87c386bbd4 add the API key as a parameter
this is actually something which should be stored in an .ENV file.
2021-07-28 22:28:52 +02:00

12 lines
227 B
JavaScript

import axios from 'axios';
const getAPI = axios.create({
baseURL: 'https://identitytoolkit.googleapis.com/v1/',
params: {
key: 'AIzaSyDBrrv4iYvZkvC15i5Un3_maYKQhmJdXXo'
},
timeout: 1000
});
export default getAPI;