Explorar el Código

Merge pull request #6040 from overleaf/jpa-workaround-cdn-cors

[misc] workaround broken caching of CORS responses to font requests

GitOrigin-RevId: d3af00d81c676f043a7d518a25db91130bbec36f
Jakob Ackermann hace 4 años
padre
commit
ca23eac750
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      services/web/webpack.config.prod.js

+ 1 - 1
services/web/webpack.config.prod.js

@@ -32,7 +32,7 @@ module.exports = merge.smart(
               options: {
                 outputPath: 'fonts',
                 publicPath: '/fonts/',
-                name: '[name]-[hash].[ext]',
+                name: '[name]-[hash]-1.[ext]',
               },
             },
           ],