瀏覽代碼

Update vercel.json

enable cache for css/js as well
Track3 2 年之前
父節點
當前提交
a5ae6ef635
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      vercel.json

+ 1 - 1
vercel.json

@@ -29,7 +29,7 @@
   ],
   "headers": [
     {
-      "source": "/(.*).(jpe?g|png|gif|webp|ico|svg|ttf|otf|woff2?)",
+      "source": "/(.*).(jpe?g|png|gif|webp|ico|svg|css|js|ttf|otf|woff2?)",
       "headers": [
         {
           "key": "Cache-Control",