Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server does not return correct MIME types by default #283

Open
mikera opened this issue Jul 18, 2024 · 0 comments
Open

Server does not return correct MIME types by default #283

mikera opened this issue Jul 18, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@mikera
Copy link
Member

mikera commented Jul 18, 2024

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

@mikera mikera added the bug Something isn't working label Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant