Skip to Content
Menu
This question has been flagged
802 Views

Hi,

I've been trying to load font/woff2 files via odoo. The font loads and it works well. The only issues I have is, the content type is always text/plain for the woff2 files instead of font/woff2. Below are the lines I have used to load the font files.


src: url(/clarico_base/static/src/font/Muli-Bold.woff2) format('woff2'), url(/clarico_base/static/src/font/Muli-Bold.woff) format('woff');


I've tried via nginx as well and added the below header as well.

add_header 'Access-Control-Allow-Origin' '*';

Can anyone help please? Would really appreciate the help. 

Thanks
Avatar
Discard