routing
This commit is contained in:
+1
-1
@@ -19,7 +19,7 @@ export default new Vuex.Store ({
|
||||
},
|
||||
actions: {
|
||||
async get_log ({ commit }) {
|
||||
const log = await fetch ('log')
|
||||
const log = await fetch ('/log')
|
||||
.then ((res) => res.json ());
|
||||
commit ('set_log', log);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user