mirror of
https://github.com/pocketbase/pocketbase.git
synced 2024-11-28 10:03:42 +02:00
3cbab96f51
Currently, css files are served as text/plain by the server. It is not trivial to detect css file types similar to the issue with svg files. When the css files are served as text/plain instead of text/css they become unusable as stylesheets in the browser when served via the api. In this commit we generalize the svg detection to also detect css files and serve specific extensions with their respective mimetypes. |
||
---|---|---|
.. | ||
auth | ||
filesystem | ||
hook | ||
inflector | ||
list | ||
mailer | ||
migrate | ||
rest | ||
routine | ||
search | ||
security | ||
store | ||
subscriptions | ||
types |