We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d5758e commit 33407eaCopy full SHA for 33407ea
src/resolver.ts
@@ -140,7 +140,7 @@ export const resolver = (wretcher: Wretcher) => {
140
* Warning: Still experimental on browsers and node.js
141
*/
142
perfs: cb => {
143
- fetchRequest.then(res => perfs.observe(res.url, cb))
+ fetchRequest.then(res => perfs.observe(res.url, cb)).catch(() => {/* swallow */ })
144
return responseChain
145
},
146
/**
test/mock.js
@@ -1,7 +1,7 @@
1
const fs = require("fs")
2
const path = require("path")
3
const restify = require("restify")
4
-const corsMiddleware = require("restify-cors-middleware")
+const corsMiddleware = require("restify-cors-middleware2")
5
6
const cors = corsMiddleware({
7
origins: ["*"],
0 commit comments