DoomDuck / transcendence

0 stars 0 forks source link

Could not load pong.html content #28

Closed luckylu91 closed 2 years ago

luckylu91 commented 2 years ago

In commit 3a22c7c384310d02bb918d092fc7f231971c203f Got the following errors:

La ressource à l’adresse « http://localhost:3000/build/bundle.js » a été bloquée en raison d’un type MIME (« text/html ») incorrect (X-Content-Type-Options: nosniff).
[pong.html](http://localhost:3000/pong.html)
La ressource à l’adresse « http://localhost:3000/build/styles.css » a été bloquée en raison d’un type MIME (« text/html ») incorrect (X-Content-Type-Options: nosniff).
[pong.html](http://localhost:3000/pong.html)
Échec du chargement pour l’élément <script> dont la source est « http://localhost:3000/build/bundle.js ». [pong.html:8:1](http://localhost:3000/pong.html)

NB: I used the temporary pong-server created in said commit to serve the page, hence the 'localhost:3000'.

luckylu91 commented 2 years ago

Solution found and pushed in commit 41b0763252fc2a74f7b4bb3e203e80e5421ce73a