question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`bypass-checks` fails when cors is needed

See original GitHub issue

https://github.com/sindresorhus/eslint-plugin-unicorn/pull/654 (or any pull there)

Access to fetch at 'https://codecov.io/gh/sindresorhus/eslint-plugin-unicorn/compare/b2838fdff7ecdc71008e049c9b1ad57da11aa224...2abde3bbf93d00305d0e85701c4b7be383fa9ed7' from origin 'https://github.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
refined-github.js:4104 ❌ Refined GitHub → bypass-checks → TypeError: Failed to fetch 

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
yakov116commented, Apr 2, 2020

It should just be part of it: if url.origin !== location.origin, add no-cors

Of where? Fetchdom?

1reaction
yakov116commented, Apr 2, 2020

~Null~ No 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

`bypass-checks` fails when cors is needed · Issue #2967 · refined ...
If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
Read more >
Issuehunt
`bypass-checks` fails when cors is needed #2967 ; Maybe it just needs this? set the request's mode to 'no-cors' to fetch the resource...
Read more >
736308 - [META] OOR-CORS: Out-of-Blink web security ...
I enabled 'Out of blink CORS' flag and it caused lot of problems, youtube video was not running, and when I inspect it....
Read more >
Can user directly modify client side code and bypass checks?
As it's a client side code, user can modify any code. If you have some page with restricted access, you need to check...
Read more >
Package google.api | Service Infrastructure
It's an error to include more than one kind of credential in a single request. If a method doesn't have any auth requirements, ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found