diff --git a/server/index.js b/server/index.js index 55889047..289d8519 100644 --- a/server/index.js +++ b/server/index.js @@ -13,7 +13,7 @@ module.exports = (app, serveV4) => { if (process.env.NODE_ENV === 'production') { // Enable CORS for fonts app.all('*', (req, res, next) => { - if (/\.(eot|ttf|woff|svg)$/.test(req.url)) { + if (/\.(eot|ttf|woff2?|svg)$/.test(req.url)) { res.header('Access-Control-Allow-Origin', '*'); } next();