I import these
<script src="mogorgo.js"></script>
<script src="userInput.js"></script>
<script src="client.js"></script>
in my index.html,
and when I inspect element I see the error is that the files aren’t found, I get this error:
“Refused to execute script from ‘https://networking-test.onrender.com/opt/render/project/src/mogorgo.js’ because its MIME type (‘text/html’) is not executable, and strict MIME type checking is enabled.”
I also tried this and it didn’t work
<script src="/opt/render/project/src/mogorgo.js"></script>
<script src="/opt/render/project/src/userInput.js"></script>
<script src="/opt/render/project/src/client.js"></script>
This is my repo https://github.com/MihirMalaviya/sockets-test/tree/master
Thanks