Fix mixed content when use endpoint for categories list

This commit is contained in:
Cristian Cosenza
2020-01-03 00:14:05 +01:00
parent 22528f5b66
commit ef9cf2db22
4 changed files with 5 additions and 5 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,4 @@
{
"/assets/js/app.js": "/assets/js/app.js?id=a9f802b3fe774e87bf0c",
"/assets/css/crater.css": "/assets/css/crater.css?id=193e5770a0e7a8604f35"
"/assets/js/app.js": "/assets/js/app.js?id=2627360dc47cad16edbc",
"/assets/css/crater.css": "/assets/css/crater.css?id=cfcef4afc8a1837ad4c1"
}

View File

@ -2,7 +2,7 @@ import * as types from './mutation-types'
export const fetchCategories = ({ commit, dispatch, state }, data) => {
return new Promise((resolve, reject) => {
window.axios.get(`/api/categories/`).then((response) => {
window.axios.get(`/api/categories`).then((response) => {
commit(types.SET_CATEGORIES, response.data)
resolve(response)
}).catch((err) => {