mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-25 22:20:49 +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…
x
Reference in New Issue
Block a user