fix: cors url

This commit is contained in:
TrèsAbhi committed 2023-10-31 11:43:28 -05:00
1 parent 6b6ee94d9b
commit 44f03a1fce
2 files changed
+4 -7

No files matched your search

+1 -1
View File
@@ -2,6 +2,6 @@ import { context } from './context';
export function withCORSProxy(url: string) {
return context === 'website'
? `https://corsproxy.wotblitz.com/?${encodeURIComponent(url)}`
? `https://corsproxy.io/?${encodeURIComponent(url)}`
: url;
}