Coder.comC
Coder.com8mo ago
4 replies
arkevorkhat

CLI port forward returns all files as 'text/html'

I have a node.js application running under parcel inside a nodejs devcontainer.
I ran coder port-forward --tcp 6852:1234 inside the container, and while the HTML file gets downloaded correctly, the JS and CSS bundles are being sent to my application with the MIME type text/html and thus are being refused by my browser.

Is there a known fix to this?
Was this page helpful?