Change CORS url
This commit is contained in:
parent
c8cd8c724f
commit
4ece9041a6
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ function getRandom(list: any[]) {
|
|||
|
||||
export function politeFetch(url: string, lastReqRef: React.RefObject<number>) {
|
||||
const elapsed = Date.now() - lastReqRef.current
|
||||
const corsUrl = `https://cors.chitowarlock.com/${url}`
|
||||
const corsUrl = `https://cors.squid.wtf/${url}`
|
||||
|
||||
const headers = {
|
||||
'User-Agent': getRandom(USER_AGENTS),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue