diff options
| author | Jieiku | 2023-08-20 22:37:18 -0700 |
|---|---|---|
| committer | Jieiku | 2023-08-20 22:37:18 -0700 |
| commit | 61f2e1c3ac343163a5361686ad529c7039387310 (patch) | |
| tree | 4be20065b86c9378cae2fe3f6de7079c3e3b2d3d /netlify.toml | |
| parent | 4a9479325f07b1f73673cf95c1891229de9450dc (diff) | |
| download | abridge-61f2e1c3ac343163a5361686ad529c7039387310.tar.gz abridge-61f2e1c3ac343163a5361686ad529c7039387310.tar.bz2 abridge-61f2e1c3ac343163a5361686ad529c7039387310.zip | |
fix image shortcodes for multilingual, and other optimizations
Diffstat (limited to 'netlify.toml')
| -rw-r--r-- | netlify.toml | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/netlify.toml b/netlify.toml index ec75f60..2777496 100644 --- a/netlify.toml +++ b/netlify.toml @@ -17,3 +17,79 @@ command = "zola build --base-url $DEPLOY_PRIME_URL && npm run pwa && zola build Referrer-Policy = "strict-origin-when-cross-origin" Strict-Transport-Security = "max-age=63072000; includeSubdomains" Content-Security-Policy = "default-src 'none'; frame-ancestors 'none'; object-src 'none'; base-uri 'self'; manifest-src 'self'; worker-src 'self'; form-action 'self'; connect-src 'self' *.hyvor.com ws://*.hyvor.com; script-src 'self' talk.hyvor.com; img-src 'self' data: talk.hyvor.com cdn.cloudflare.com; frame-src 'self' www.youtube-nocookie.com player.vimeo.com streamable.com www.streamable.com; media-src 'self' data: cdn.cloudflare.com www.youtube-nocookie.com player.vimeo.com; font-src 'self' cdn.cloudflare.com cdn.jsdelivr.net fonts.gstatic.com; style-src 'self' talk.hyvor.com cdn.cloudflare.com cdn.jsdelivr.net fonts.googleapis.com;" +[[headers]] + for = "*.js"#javascript + [headers.values] + Cache-Control = "public, max-age=604800, must-revalidate" +[[headers]] + for = "*.css"#stylesheet + [headers.values] + Cache-Control = "public, max-age=604800, must-revalidate" +[[headers]] + for = "*.svg"#image/favicon + [headers.values] + Cache-Control = "public, max-age=604800" +[[headers]] + for = "*.png"#image/favicon + [headers.values] + Cache-Control = "public, max-age=604800" +[[headers]] + for = "*.ico"#image/favicon + [headers.values] + Cache-Control = "public, max-age=604800" +[[headers]] + for = "*.jpg"#image + [headers.values] + Cache-Control = "public, max-age=604800" +[[headers]] + for = "*.jpeg"#image + [headers.values] + Cache-Control = "public, max-age=604800" +[[headers]] + for = "*.gif"#image + [headers.values] + Cache-Control = "public, max-age=604800" +[[headers]] + for = "*.webp"#image + [headers.values] + Cache-Control = "public, max-age=604800" +[[headers]] + for = "*.avif"#image + [headers.values] + Cache-Control = "public, max-age=604800" +[[headers]] + for = "*.mp4"#video + [headers.values] + Cache-Control = "public, max-age=604800" +[[headers]] + for = "*.webm"#video + [headers.values] + Cache-Control = "public, max-age=604800" +[[headers]] + for = "*.mp3"#audio + [headers.values] + Cache-Control = "public, max-age=604800" +[[headers]] + for = "*.ogg"#audio + [headers.values] + Cache-Control = "public, max-age=604800" +[[headers]] + for = "*.otf"#font + [headers.values] + Cache-Control = "public, max-age=604800" +[[headers]] + for = "*.eot"#font + [headers.values] + Cache-Control = "public, max-age=604800" +[[headers]] + for = "*.ttf"#font + [headers.values] + Cache-Control = "public, max-age=604800" +[[headers]] + for = "*.woff"#font + [headers.values] + Cache-Control = "public, max-age=604800" +[[headers]] + for = "*.woff2"#font + [headers.values] + Cache-Control = "public, max-age=604800" |
