From 9ed3717d7f8ce6a5bc4ea6ed960caf2021f44c36 Mon Sep 17 00:00:00 2001 From: zyronon Date: Wed, 3 Apr 2024 23:51:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0netlify=E7=BC=93=E5=AD=98?= =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README-en-US.md | 4 ++-- README.md | 4 ++-- netlify.toml | 5 +++++ 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/README-en-US.md b/README-en-US.md index c23e957..020dbc4 100644 --- a/README-en-US.md +++ b/README-en-US.md @@ -26,9 +26,9 @@ This project is only applicable for technical research and sharing, and cannot b ## Online access -Netlify: (If you are in China, you need Vpn) +Netlify: (If you are in China, you need Vpn) -Vercel: (This is recommended in China.) +Vercel: (This is recommended in China.) **Note**: PC browsers should be accessed in mobile mode. Press F12 to bring up the console, and then press Ctrl+Shift+M to switch to mobile mode. diff --git a/README.md b/README.md index 660936b..1b23d4b 100644 --- a/README.md +++ b/README.md @@ -20,9 +20,9 @@ ## 在线访问 -Vercel: [http://dy.ttentau.top](http://dy.ttentau.top) (国内推荐访问这个) +Vercel: [http://dy.ttentau.top](http://dy.ttentau.top/) (国内推荐访问这个) -Netlify:[https://douyins.netlify.app](https://douyins.netlify.app) (需要翻墙) +Netlify:[https://douyins.netlify.app](https://douyins.netlify.app/) (需要翻墙) **注意**:`PC` 浏览器请用手机模式访问。先按 `F12` 调出控制台,再按 `Ctrl+Shift+M` 切换到手机模式 diff --git a/netlify.toml b/netlify.toml index 95e6e4c..c97e5e4 100644 --- a/netlify.toml +++ b/netlify.toml @@ -33,3 +33,8 @@ [headers.values] Cache-Control = "public, max-age=31536000, must-revalidate" +[[headers]] + for = "/*.json" + [headers.values] + Cache-Control = "public, max-age=31536000, must-revalidate" +