Merge pull request #119 from hypnodev/fix-http-mixed-request

Fix http mixed request
This commit is contained in:
Mohit Panjwani
2020-01-05 13:37:27 +05:30
committed by GitHub
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) => {