From cb4d031b46c636e3b227f5784aa54b9429a8bf93 Mon Sep 17 00:00:00 2001 From: CDN-guy Date: Tue, 25 Aug 2026 15:53:15 -0400 Subject: [PATCH] v1.0.6 fix CI errors --- src/index.js | 6 +++--- src/package-lock.json | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/index.js b/src/index.js index cf8a7b9..1896884 100644 --- a/src/index.js +++ b/src/index.js @@ -401,9 +401,9 @@ app.get('/images/*path', cache(), async (req, res, next) => { }); // please comment this section before upload to Cloud Run -// app.get('/original/*origin_path', async (req, res) => { -// res.sendFile(`${__dirname}${req.path.replace("original", "images")}`); -// }); +app.get('/original/*origin_path', async (req, res) => { + res.sendFile(`${__dirname}${req.path.replace("original", "images")}`); +}); // block any request not coming with /images/ app.get('/*others', async (req, res) => { diff --git a/src/package-lock.json b/src/package-lock.json index efc66cf..82422a7 100644 --- a/src/package-lock.json +++ b/src/package-lock.json @@ -1,12 +1,12 @@ { "name": "imageoptimization", - "version": "1.0.5", + "version": "1.0.6", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "imageoptimization", - "version": "1.0.5", + "version": "1.0.6", "license": "MIT", "dependencies": { "express": ">=4.20.0",