Chage CORS server hosting from Heroku to Railway

This commit is contained in:
Przemek Więch
2022-12-02 16:49:01 +01:00
parent f11cae24cb
commit 3060de0a90
3 changed files with 5 additions and 4 deletions

View File

@@ -64,7 +64,7 @@ export async function loadFromUrl(
}
const urlToFetch = handleCors
? 'https://topola-cors.herokuapp.com/' + url
? 'https://topola-cors-server.up.railway.app/' + url
: url;
const response = await window.fetch(urlToFetch);