Updated hosting of cors-anywhere proxy #130

This commit is contained in:
Przemek Więch 2023-08-13 23:17:26 +02:00
parent 18a4313460
commit 82508dfa34
4 changed files with 5 additions and 5 deletions

View File

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

View File

@ -53,7 +53,7 @@ function getApiOptions(handleCors: boolean) {
handleCors
? {
apiUrl:
'https://topola-cors-server.up.railway.app/https://api.wikitree.com/api.php',
'https://topolaproxy.bieda.it/https://api.wikitree.com/api.php',
}
: {},
);

View File

@ -94,7 +94,7 @@ function Contents() {
' cross-site file loading in the browser (CORS).'
}
values={{
link: <a href="https://topola-cors-server.up.railway.app/">cors-anywhere</a>,
link: <a href="https://topolaproxy.bieda.it/">cors-anywhere</a>,
}}
/>

View File

@ -67,8 +67,8 @@ export function UrlMenu(props: Props) {
}
values={{
link: (
<a href="https://topola-cors-server.up.railway.app/">
topola-cors-server.up.railway.app
<a href="https://topolaproxy.bieda.it/">
topolaproxy.bieda.it (cors-anywhere proxy)
</a>
),
}}