mirror of
https://github.com/PeWu/topola-viewer.git
synced 2026-07-20 10:41:48 +00:00
Chage CORS server hosting from Heroku to Railway
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user