CS4850Group5A / VirtuDoc

1 stars 3 forks source link

P2P text chat #154

Closed ARMmaster17 closed 2 years ago

PlasAJulian commented 2 years ago

Current error - Firefox can’t establish a connection to the server at ws://localhost:8080/chat/609/31hwz1yn/websocket. websocket.js:6 The resource from “http://localhost:8080/login” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).

ARMmaster17 commented 2 years ago

Does adding /chat/** to SecurityConfig.java change anything? That's odd that the security config is kicking in because the Spring WebSocket implementation is supposed to work at the Tomcat level where there's no auth middleware (unless something changed in Spring 5).