Reputation: 99523
I'm a little stumped with this one, I'm making a request in firefox to a relative url:
await fetch('/foo/bar',{});
This errors out with:
TypeError: NetworkError when attempting to fetch resource.
Furthermore, the urls show up as 'blocked' in the network tab:
Things I've checked:
Upvotes: 0
Views: 1168
Reputation: 99523
I figured out the issue.
fetch()
request was initiated.block
, setting me on an incorrect path to try and fix this.So things were broken, just not where I expected. Thank you for helping me think and find the root cause
Upvotes: 3