From f99200223070e652d45b5840ce937ff7026ce3af Mon Sep 17 00:00:00 2001 From: MDLeom <2809763-curben@users.noreply.gitlab.com> Date: Tue, 1 Nov 2022 09:41:33 +0000 Subject: [PATCH] ci(cf): snort2.rules path --- src/build.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/build.js b/src/build.js index 2dfbcd73..0aaabd7c 100644 --- a/src/build.js +++ b/src/build.js @@ -65,7 +65,7 @@ const f = async () => { if (isMirror === false) { await unzip(zipPath, { dir: rootPath }) // snort2.rules is over 25MB limit of CF Pages - await rm(join(rootPath, 'phishing-filter-snort2.rules'), { force: true }) + await rm(join(publicPath, 'phishing-filter-snort2.rules'), { force: true }) } else { await mkdir(publicPath, { recursive: true }) await unzip(zipPath, { dir: publicPath })