diff options
| author | Christophe Monniez <moc@odoo.com> | 2017-11-06 16:59:54 +0100 |
|---|---|---|
| committer | Christophe Monniez <moc@odoo.com> | 2017-11-07 09:28:25 +0100 |
| commit | 77ca51f0892ec62d357e099d5c2a91e580e35383 (patch) | |
| tree | 05f371b5b28f15ec9e6cdc328367f34673e42d41 /addons/web_editor/static/src/xml/backend.xml | |
| parent | 99989ad84b333b3f58fde4565f9f803f269bfeae (diff) | |
[FIX] base: set mimetype on js and css assets
On MS Windows, the mimetypes module relies on the Windows Registry to
guess mimetypes. As a consequence, when generating assets bundle for
javascript files, the mime type of js files may be wrong. In that
particular case, the Odoo user is facing an empty web page.
This commit enforce 'application/javascript' for js assets when they are
saved as ir_attachment in the database.
Diffstat (limited to 'addons/web_editor/static/src/xml/backend.xml')
0 files changed, 0 insertions, 0 deletions
