Tell us what’s happening: Alright so I’ve been getting from this boilerplate issues accessing from the browser.
The app works fine on my machine and all the functional tests are passing but when I try to submit the challenge on the portal the last 4 criteria all fail.
More specifically the following :
Prevent the client from trying to guess / sniff the MIME type.
Prevent cross-site scripting (XSS) attacks.
Nothing from the website is cached in the client.
The headers say that the site is powered by “PHP 7.4.3” even though it isn’t (as a security measure).
Which correspond to the four functional tests that are all passing.
I have also noted that the boiler plate itself doesn’t seem to be working on repl hosting. I tried to diagnose the issue and to play around with cors and CSP without luck
I am therefore stuck unable to complete this challenge thinking I must not have been the only person affected by this and yet I cannot find any information on the topic…
Am I missing something?
Once again a massive Thank You to whoever takes the time to read and answer this
Just came across the same problem as you. When I run npm run test from the server it shows that all tests are passing, yet when I enter the it on the challenge page it fails. It appears to be an issue on fcc’s side. To test this out, I intentionally failed this task ( and others ):
Players can use the WASD and/or arrow keys to move their avatar. Complete the movePlayer method in Player.mjs to implement this.
by changing up the keys, and on the challenge page it still shows it passes the test. May need to submit a bug report…
Hello there ,
So if I understand correctly we cannot currently pass this project ? Is there any way to bypass these 4 tests if they are broken ?
Because given solution https://secure-real-time-multiplayer-game.freecodecamp.rocks/ passes these 4 tests.
Thx !
I have also just submitted the changes to the boilerplate making a pull requests following the advice given by Sky020 that can be found at the following (My very first pull request so feel free to give feedback):