{ "rewrites": [ { "source": "/zh", "destination": "/index-zh.html" }, { "source": "/zh/", "destination": "/index-zh.html" }, { "source": "/tw", "destination": "/index-tw.html" }, { "source": "/tw/", "destination": "/index-tw.html" }, { "source": "/ja", "destination": "/index-ja.html" }, { "source": "/ja/", "destination": "/index-ja.html" }, { "source": "/ko", "destination": "/index-ko.html" }, { "source": "/ko/", "destination": "/index-ko.html" } ], "redirects": [ { "source": "/(.*)", "has": [{ "type": "host", "value": "www.example.com" }], "destination": "https://example.com/$1", "permanent": true } ], "headers": [ { "source": "/(.*)", "headers": [ { "key": "X-Content-Type-Options", "value": "nosniff" }, { "key": "X-Frame-Options", "value": "DENY" } ] }, { "source": "/:path*.(png|jpg|gif|ico|svg|webp)", "headers": [ { "key": "Cache-Control", "value": "public, max-age=31536000, immutable" } ] } ] }