Convex-Dev / convex-web

https://convex.world
16 stars 18 forks source link

Server does not return correct MIME types by default #283

Open mikera opened 4 months ago

mikera commented 4 months ago

Running convex-web locally with profile dev:java-16 on Windows.

Server starts on port 8080 but mian page does not load.

apparently a MIME type issue:

Refused to apply style from 'http://localhost:8080/css/styles.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
localhost/:1 Refused to apply style from 'http://localhost:8080/css/styles.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
localhost/:1 Refused to execute script from 'http://localhost:8080/js/main.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.

These resources should have the appropriate MIME type set