Enable CORS in Meteor


#1

hey

does anyone know how to enable CORS for obtaining webfonts from a cross-origin (a simple url reference in css)?

CORS stuff is not my strength, so I’d appreciate a quick pointer

Thanks

EDIT: nevermind, it’s an S3 issue


#2

Let me answer this question.

Meteor has built in support for CORS for DDP. For other HTTP requests you need to set the CORS header manually