kaiesh / connect-web3-wallets

Helpful JS libs to connect various self-custody web3 wallets
GNU General Public License v3.0
8 stars 5 forks source link

Wrong source-map url in built web3 js file, causing annoying warnings in console #10

Open php4fan opened 2 years ago

php4fan commented 2 years ago

I get these warnings in the DevTools console:

DevTools failed to load source map: Could not load content for https://cdn.kaiesh.com/js/web3.min.js.map: HTTP error: status code 403, net::ERR_HTTP_RESPONSE_CODE_FAILURE

These seem to be due to this line at the end of js/web3_3.0.0-rc.5.min.js:

//# sourceMappingURL=web3.min.js.map

I'm not sure if the file is not actually there (it's a bit strange that the response is a 403 and not 404) or if something is misconfigured on your CDN server, but I think you should either: