web-svelte => web

This commit is contained in:
Jan Prochazka
2021-02-20 19:16:05 +01:00
parent daf9e9d18b
commit 321eedefea
38 changed files with 2 additions and 3 deletions

View File

@@ -0,0 +1,14 @@
import axios from 'axios';
import resolveApi from './resolveApi';
const axiosInstance = axios.create({
baseURL: resolveApi(),
});
axiosInstance.defaults.headers = {
'Cache-Control': 'no-cache',
Pragma: 'no-cache',
Expires: '0',
};
export default axiosInstance;