From f39133daf1f59fb196acd14c729adc9e7df35d85 Mon Sep 17 00:00:00 2001 From: Haishan Date: Sun, 21 Oct 2018 21:27:08 +0800 Subject: [PATCH] doc: update readme about http served site --- README.md | 4 +++- src/index.template.ejs | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fe1db32..924dc86 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,9 @@ > Yet Another [Clash](https://github.com/Dreamacro/clash) Dashboard -Note for Firefox user: +The site [http://yacd.haishan.me](http://yacd.haishan.me) is served with HTTP not HTTPS is because many browsers blocking request to HTTP resources from a HTTPS website. If you think it's not safe or not comfort with this, you can actually download the [zip of the gh-pages](https://github.com/haishanh/yacd/archive/gh-pages.zip), unzip and open `index.html` directly. + +Extra note for Firefox users: **yacd** is using the [Fetch (Web) API][fetch-api] to stream chunked API response from Clash to draw the traffic chart. But currently the streaming feature in Firefox needs to be turned on manually. Here is how to: diff --git a/src/index.template.ejs b/src/index.template.ejs index e38f9c8..3fd7283 100644 --- a/src/index.template.ejs +++ b/src/index.template.ejs @@ -14,7 +14,7 @@ - +