Wrong source-map url in built web3 js file, causing annoying warnings in console
Opened this issue · 0 comments
php4fan commented
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:
- put the file there if it is not, or
- fix access to it, or
- fix the URL, or
- remove the
sourceMappingURL
reference.