Zmeny potrebne pro deploy na poletani.cz

This commit is contained in:
Michal Kváček
2023-08-24 13:37:14 +02:00
parent 19b078b43c
commit ccc8ff22e2
9 changed files with 89 additions and 8 deletions
+1 -2
View File
@@ -1,10 +1,9 @@
import {boot} from 'quasar/wrappers'
import axios from 'axios'
import {useUserStore} from "stores/User";
import {useRouter} from "vue-router";
const api = axios.create({
baseURL: 'http://localhost:8000',
baseURL: process.env.API_URL,
withCredentials: true,
xsrfHeaderName: "X-CSRF-TOKEN",
headers: {