Tell us what’s happening:
I have been getting a strange and intermittent issue that I cannot pin down working on this project.
I run the project locally hosted on my computer using vscode and I’ve been getting an issue every now and then where for no apparent reason my requests get blocked.
Right this moment I have been getting it the issue on my normal session and everything working fine on the incognito session of the same browser(chrome) during the same execution of my locally ran server.
Using the network tab, I managed to notice that in my incognito browser, entering a ticker and pressing get price launches a request that is received normally by my server but on the regular session it sends out 4 requests one of which gets intercepted stating the CSP policy regarding jquery-2.2.1.min.js.
I also noticed that on the incognito the URL isn’t updated as it is on the regular browser.
I am uploading a screenshot which might help making sense of what I am trying to describe.
The problem is on the normal when I do get this error (and it isn’t always), things aren’t working and I am wondering what is causing this.
I am pretty sure it has nothing to do with my own policy implemented in server.js file as even when commented out it produces the same issue.
Here is what I am looking at :
Any clue on what am I doing wrong?
Your code so far
Your browser information:
User Agent is:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.104 Safari/537.36.
Challenge: Stock Price Checker
Link to the challenge: