mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-01 13:10:43 +00:00
zip only web_root files
This commit is contained in:
1 parent
232bd9a22b
commit
51a5dc78d7
1 file changed
+1
-1
+1
-1
@@ -95,7 +95,7 @@ const [, , ...args] = process.argv;
|
||||
const files = args.map(f => ({
|
||||
path: f,
|
||||
data: fs.readFileSync(f, 'utf8'),
|
||||
zip: true,
|
||||
zip: !!f.match(/web_root\/.+/),
|
||||
}));
|
||||
|
||||
(async () => {
|
||||
|
||||
Reference in new issue
Block a user