switch location url

This commit is contained in:
Matthias Kretschmann 2023-02-02 22:03:08 +00:00
parent ba49dde985
commit 67e5b295dc
Signed by: m
GPG Key ID: 606EEEF3C479A91F
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ export const useLocation = () => {
useEffect(() => { useEffect(() => {
async function fetchData() { async function fetchData() {
try { try {
const response = await fetch('https://location.kremalicious.com') const response = await fetch('https://location.kretschmann.io')
const data = await response.json() const data = await response.json()
if (!data) return if (!data) return
setLocation(data) setLocation(data)