Skip to content
Snippets Groups Projects
Commit e08e1af4 authored by Lukáš Kratochvíl's avatar Lukáš Kratochvíl
Browse files

feat: default config for axios - baseURL specified

parent d87e3290
No related branches found
No related tags found
No related merge requests found
import axios from 'axios';
const instance = axios.create({
baseURL: `http://127.0.0.1:${import.meta.env.VITE_SERVER_PORT}`,
});
export default instance;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment