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?4 Replies
<#1377088664529535066>
Category
Help needed
Product
Coder (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
OK turns out this is a PEBCAK issue, my application wasn't designed to be running behind coder and it was ingesting the 404 page as though it was javascript
@arkevorkhat closed the thread.