1
0
mirror of https://github.com/pocketbase/pocketbase.git synced 2024-11-28 10:03:42 +02:00
pocketbase/tools
Rohan Verma 3cbab96f51
[#661] serve css files with text/css content-type
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.
2022-09-28 21:25:50 +03:00
..
auth [#405] updated Google OAuth2 userinfo response data 2022-09-09 09:12:34 +03:00
filesystem [#661] serve css files with text/css content-type 2022-09-28 21:25:50 +03:00
hook [#590] fixed realtime events bind order by adding hooks.PreAdd 2022-09-21 14:41:20 +03:00
inflector applied some of the changes from #149 2022-07-18 01:03:09 +03:00
list [#89] simplified some code by returning early and reducing local variable scopes 2022-07-12 19:52:09 +03:00
mailer added auto html to plain text mail generation 2022-08-26 06:46:34 +03:00
migrate call transaction Dao events only after commit, added totalPages to the search response and updated the tests 2022-08-09 16:20:39 +03:00
rest [#210] change the uploaded filename strategy to include the original filename 2022-08-18 20:44:29 +03:00
routine initial public commit 2022-07-07 00:19:05 +03:00
search remove OrderBy nil variadic argument 2022-09-22 20:35:20 +03:00
security [#275] added support to customize the default user email templates from the Admin UI 2022-08-14 19:30:45 +03:00
store added store.RemoveAll() helper method 2022-07-14 16:39:42 +03:00
subscriptions [#275] added support to customize the default user email templates from the Admin UI 2022-08-14 19:30:45 +03:00
types [#38] added lint and used the lint suggestions 2022-07-09 17:17:41 +03:00