El servidor es home.danielcortes.xyz

This commit is contained in:
2020-11-20 16:00:47 -03:00
parent d646c25984
commit eb07a6d0c7

View File

@@ -8,7 +8,7 @@ const query_currency = async (base) => {
const old = JSON.parse(localStorage.getItem('currency')) const old = JSON.parse(localStorage.getItem('currency'))
if (old != null && old.base === base) return old if (old != null && old.base === base) return old
const data = await fetch(`http://localhost:8000/currency?base=${base}`) const data = await fetch(`https://home.danielcortes.xyz/currency?base=${base}`)
const response = await data.json() const response = await data.json()
localStorage.setItem('currency', JSON.stringify(response)) localStorage.setItem('currency', JSON.stringify(response))