ci(cf): snort2.rules path

This commit is contained in:
MDLeom 2022-11-01 09:41:33 +00:00
parent 25207f5708
commit f992002230
No known key found for this signature in database
GPG Key ID: 32D3E28E96A695E8
1 changed files with 1 additions and 1 deletions

View File

@ -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 })