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:
parent
f40f4827d0
commit
e6c1f2237f
@ -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++) {
|
||||
|
Loading…
Reference in New Issue
Block a user