fix(cf-images): site assets are now served from root

433b00def7
This commit is contained in:
Ming Di Leom 2024-10-06 02:40:09 +00:00
parent bc1d6323ea
commit 5f06ad43bf
No known key found for this signature in database
GPG Key ID: 32D3E28E96A695E8
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ export default {
// Build a request that passes through request headers // Build a request that passes through request headers
// Images are stored on https://gitlab.com/curben/blog/-/tree/site // 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, { const imageRequest = new Request(imageURL, {
headers: request.headers headers: request.headers
}) })