mirror of
https://github.com/PeWu/topola-viewer.git
synced 2026-07-20 18:51:47 +00:00
Changed CORS anywhere address #40
This commit is contained in:
@@ -64,7 +64,7 @@ export async function loadFromUrl(
|
||||
}
|
||||
|
||||
const urlToFetch = handleCors
|
||||
? 'https://cors-anywhere.herokuapp.com/' + url
|
||||
? 'https://topola-cors.herokuapp.com/' + url
|
||||
: url;
|
||||
|
||||
const response = await window.fetch(urlToFetch);
|
||||
|
||||
Reference in New Issue
Block a user