From 85fe258b209cab079c8c63868fff67f9c4eafd20 Mon Sep 17 00:00:00 2001 From: Cotes Chung <11371340+cotes2020@users.noreply.github.com> Date: Sat, 29 Jan 2022 01:05:32 +0800 Subject: [PATCH] Migrate the images from jsDelivr CDN to GitHub jsDelivr does not allow caching of website images to their CDN! see: --- README.md | 2 +- _config.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 84d8a3a..4c5225d 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ [**Live Demo →**](https://cotes2020.github.io/chirpy-demo) - [![Devices Mockup](https://cdn.jsdelivr.net/gh/cotes2020/chirpy-images@f4e0354b674f65a53b8917f0f786ed2956898cc1/commons/devices-mockup.png)](https://cotes2020.github.io/chirpy-demo) + [![Devices Mockup](https://raw.githubusercontent.com/cotes2020/chirpy-images/main/commons/devices-mockup.png)](https://cotes2020.github.io/chirpy-demo) diff --git a/_config.yml b/_config.yml index 1a1e998..889371d 100644 --- a/_config.yml +++ b/_config.yml @@ -82,7 +82,7 @@ theme_mode: # [light|dark] # will be added to all image (site avatar & posts' images) paths starting with '/' # # e.g. 'https://cdn.com' -img_cdn: 'https://cdn.jsdelivr.net/gh/cotes2020/chirpy-images@f4e0354b674f65a53b8917f0f786ed2956898cc1' +img_cdn: 'https://raw.githubusercontent.com/cotes2020/chirpy-images/main' # the avatar on sidebar, support local or CORS resources avatar: '/commons/avatar.jpg'