Skip to main content
Nintex Community Menu Bar
Solved

CORS error when importing font in external CSS file

  • Mar 17, 2023 12:05 PM UTC
  • 1 reply
  • 1285 views
  • Translate All

ernie_hayter
Nintex Partner
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

View original

1 reply

ernie_hayter
Nintex Partner
Forum|alt.badge.img+6
  • Author
  • Nintex Partner
  • Answer
  • Mar 17, 2023 7:16 PM UTC

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

Translate