Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
shiyiya committed Jul 19, 2024
1 parent 8a5d62b commit e2855cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/shared/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ if (document.location.search.includes('nocors')) {
}

const corsAxios = http.create<R.Response<any>>(
localStorage.getItem('cors') == '1' ? '' : 'https://cors-flame.vercel.app/api/cors?url='
localStorage.getItem('cors') == null ? 'https://cors-flame.vercel.app/api/cors?url=' : ''
)

export { axios, corsAxios }

0 comments on commit e2855cf

Please sign in to comment.