joshuabach / gnucash-web

A simple, mobile-friendly webinterface for GnuCash
GNU General Public License v3.0
117 stars 18 forks source link

Wrong MIME type for all ressources #66

Closed Artiom-M closed 3 months ago

Artiom-M commented 3 months ago

On the gnucash page I can only see plain text, and there are errors in the console like this

Refused to execute script from 'https://server.com/gnucash/static/jquery-3.6.1.min.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.

Artiom-M commented 3 months ago

It was again nginx config. But it would be good to have an ability to serve /static content directly from nginx