diff --git a/functions/index.js b/functions/index.js index f10bef8..22f310c 100644 --- a/functions/index.js +++ b/functions/index.js @@ -25,12 +25,13 @@ app.get('/:package', (req, res) => { const withParam = req.query.with; const fileName = ['installer']; - if (minParam){ - fileName.push('min'); - } if (withParam){ fileName.push(withParam); } + if (minParam){ + fileName.push('min'); + } + fileName.push('sh'); const fileNameString = fileName.join("."); const file = bucket.file(req.params.package + '/'+fileNameString);