mirror of
https://github.com/Xevion/the-office.git
synced 2025-12-16 14:13:36 -06:00
Add individual character folders to app
This commit is contained in:
@@ -131,7 +131,7 @@ export default new Vuex.Store({
|
||||
},
|
||||
[types.FETCH_CHARACTER]({commit}, character_id) {
|
||||
return new Promise((resolve, reject) => {
|
||||
const path = `${process.env.VUE_APP_API_URL}/api/character/${character_id}/`;
|
||||
const path = `/json/character/${character_id}/`;
|
||||
axios.get(path)
|
||||
.then((res) => {
|
||||
commit(types.MERGE_CHARACTER, {id: character_id, characterData: res.data})
|
||||
|
||||
Reference in New Issue
Block a user