Open Recze opened 1 year ago
I faced a similar issue. I don't see how the axios instance should get the set variables. I just see that the values are in the store.
What I did in my component:
import fileManagerAxios from 'laravel-file-manager/src/http/axios'
....
beforeCreate () {
fileManagerAxios.defaults.baseURL = '/file-manager/'
},
Hello, i've got an issue with 3.0.3 package.
main.js
FileManagerPage.vue
.env
VITE_APP_LFM_AXIOS_BASE_URL=http://liquid.local/file-manager/ VITE_APP_LFM_CSRF_TOKEN=OFF
And yet file manager still tries to connect to localhost:
How can i resolve this issue?