Swap back to cached history URL

The uncached 'next' endpoint made it into pushed code accidentally. I should really come up with a way to prevent that from happening - though /next/[path] is less bad then what I was doing before (referencing Lambda URLs directly
This commit is contained in:
Emily Doherty 2022-11-27 16:47:12 -08:00
parent f40f4827d0
commit e6c1f2237f

View File

@ -116,7 +116,7 @@ export function updateTimePreference(newTime) {
}
async function pullChartData() {
let resp = await fetch("https://data.wowtoken.app/next/token/history/" + current_region_selection + "/" + current_time_selection + ".json");
let resp = await fetch("https://data.wowtoken.app/token/history/" + current_region_selection + "/" + current_time_selection + ".json");
let chart_data = await resp.json();
let new_chart_js_data = []
for (let i = 0; i < chart_data.length; i++) {