apache设置字体文件跨域

 

<FilesMatch "\.(ttf|otf|eot|woff|svg|woff2)$">
  <IfModule mod_headers.c>
    Header set Access-Control-Allow-Origin "*"
  </IfModule>
</FilesMatch>

 

相关文章:

  • 2021-09-30
  • 2022-12-23
  • 2021-08-05
  • 2021-06-17
  • 2022-01-27
  • 2022-12-23
  • 2021-11-29
  • 2021-11-26
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-10
相关资源
相似解决方案