|
|
@@ -22,7 +22,7 @@ export const useComponentStore = defineStore('components', {
|
|
|
},
|
|
|
|
|
|
async fetchComponents() {
|
|
|
- const response = await axios.get(import.meta.env.VITE_STRAPI_URL + '/api/components?locale=' + this.locale, {
|
|
|
+ const response = await axios.get(import.meta.env.VITE_STRAPI_URL + '/components?locale=' + this.locale, {
|
|
|
headers: {
|
|
|
Authorization: "Bearer " + import.meta.env.VITE_STRAPI_TOKEN,
|
|
|
},
|