From 8cbd1304a9c03d86b1ba0202914b99b0637a7b9e Mon Sep 17 00:00:00 2001 From: Xevion Date: Thu, 19 May 2022 00:34:06 -0500 Subject: [PATCH] Remove Flask from Pipfile, fix store.js requesting incorrect file path --- Pipfile | 4 ---- src/store.js | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/Pipfile b/Pipfile index cab30c6..a3ef7a3 100644 --- a/Pipfile +++ b/Pipfile @@ -6,12 +6,8 @@ name = "pypi" [packages] click = "~=7.1.2" requests = "~=2.24.0" -bs4 = "~=0.0.1" beautifulsoup4 = "~=4.9.1" -Flask = "~=1.1.2" markupsafe = "<2.1.0" -flask_cors = "*" -flask_wtf = "*" unidecode = "*" lxml = "*" rich = "*" diff --git a/src/store.js b/src/store.js index e63b2ef..e67c41b 100644 --- a/src/store.js +++ b/src/store.js @@ -131,7 +131,7 @@ export default new Vuex.Store({ }, [types.FETCH_CHARACTER]({commit}, character_id) { return new Promise((resolve, reject) => { - const path = `/json/character/${character_id}/`; + const path = `/json/character/${character_id}.json`; axios.get(path) .then((res) => { commit(types.MERGE_CHARACTER, {id: character_id, characterData: res.data})