From 5f06ad43bfc919134eae3d5601b4bac887253316 Mon Sep 17 00:00:00 2001 From: Ming Di Leom <2809763-curben@users.noreply.gitlab.com> Date: Sun, 6 Oct 2024 02:40:09 +0000 Subject: [PATCH] fix(cf-images): site assets are now served from root https://gitlab.com/curben/curben.gitlab.io/-/commit/433b00def7dbe2c2c14b6067a95c5e8ef12b791f --- cf-images/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cf-images/index.js b/cf-images/index.js index 026fc51..5d7bf1c 100644 --- a/cf-images/index.js +++ b/cf-images/index.js @@ -72,7 +72,7 @@ export default { // Build a request that passes through request headers // Images are stored on https://gitlab.com/curben/blog/-/tree/site - const imageURL = new URL(imgPath, 'https://curben.gitlab.io/blog/') + const imageURL = new URL(imgPath, 'https://curben.gitlab.io/') const imageRequest = new Request(imageURL, { headers: request.headers })