Skip to main content
Nintex Community Menu Bar
Answer

CORS error when importing font in external CSS file

  • March 17, 2023
  • 1 reply
  • 1236 views

ernie_hayter
Forum|alt.badge.img+6

Hi There,

 

I have to implement corporate branding on a Form, this includes a corporate typeface.

 

Unfortunately I am getting a CORS issue due to domain mismatch:

 

 

The domain of the woff files is the same as the domain serving the custom CSS in the externally linked CSS file in the Style profile.

 

Has anyone been able to work around this limitation?

 

CC: 

@CodiKaji @nazreen_hassan-  

 

Regards,

Ernie

Best answer by ernie_hayter

I was able to get this working by changing the CORS settings on the Azure Storage account:

 

https://stackoverflow.com/questions/46226602/requested-font-files-from-azure-cdn-being-blocked-by-cors-policy

1 reply

ernie_hayter
Forum|alt.badge.img+6
  • Author
  • Rookie
  • Answer
  • March 17, 2023

I was able to get this working by changing the CORS settings on the Azure Storage account:

 

https://stackoverflow.com/questions/46226602/requested-font-files-from-azure-cdn-being-blocked-by-cors-policy