El servidor es home.danielcortes.xyz
This commit is contained in:
@@ -8,7 +8,7 @@ const query_currency = async (base) => {
|
||||
const old = JSON.parse(localStorage.getItem('currency'))
|
||||
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()
|
||||
|
||||
localStorage.setItem('currency', JSON.stringify(response))
|
||||
|
||||
Reference in New Issue
Block a user