From 13c26175620a337231d9f8d244c191e388c3ffef Mon Sep 17 00:00:00 2001 From: CDN-guy Date: Tue, 25 Aug 2026 23:45:57 -0400 Subject: [PATCH] v1.0.6 remove dev mode --- src/index.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/index.js b/src/index.js index 1896884..b6b7a7f 100644 --- a/src/index.js +++ b/src/index.js @@ -400,10 +400,10 @@ 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")}`); -}); +// // 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")}`); +// }); // block any request not coming with /images/ app.get('/*others', async (req, res) => {