mirror of
https://github.com/Xevion/the-office.git
synced 2025-12-11 06:09:00 -06:00
Remove Flask from Pipfile, fix store.js requesting incorrect file path
This commit is contained in:
4
Pipfile
4
Pipfile
@@ -6,12 +6,8 @@ name = "pypi"
|
|||||||
[packages]
|
[packages]
|
||||||
click = "~=7.1.2"
|
click = "~=7.1.2"
|
||||||
requests = "~=2.24.0"
|
requests = "~=2.24.0"
|
||||||
bs4 = "~=0.0.1"
|
|
||||||
beautifulsoup4 = "~=4.9.1"
|
beautifulsoup4 = "~=4.9.1"
|
||||||
Flask = "~=1.1.2"
|
|
||||||
markupsafe = "<2.1.0"
|
markupsafe = "<2.1.0"
|
||||||
flask_cors = "*"
|
|
||||||
flask_wtf = "*"
|
|
||||||
unidecode = "*"
|
unidecode = "*"
|
||||||
lxml = "*"
|
lxml = "*"
|
||||||
rich = "*"
|
rich = "*"
|
||||||
|
|||||||
@@ -131,7 +131,7 @@ export default new Vuex.Store({
|
|||||||
},
|
},
|
||||||
[types.FETCH_CHARACTER]({commit}, character_id) {
|
[types.FETCH_CHARACTER]({commit}, character_id) {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
const path = `/json/character/${character_id}/`;
|
const path = `/json/character/${character_id}.json`;
|
||||||
axios.get(path)
|
axios.get(path)
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
commit(types.MERGE_CHARACTER, {id: character_id, characterData: res.data})
|
commit(types.MERGE_CHARACTER, {id: character_id, characterData: res.data})
|
||||||
|
|||||||
Reference in New Issue
Block a user