mirror of
https://github.com/cesanta/mongoose.git
synced 2024-11-23 18:49:01 +08:00
zip only web_root files
This commit is contained in:
parent
232bd9a22b
commit
51a5dc78d7
@ -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 () => {
|
||||
|
Loading…
Reference in New Issue
Block a user