0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 20:42:43 +00:00

Hardcode prefix

This commit is contained in:
Trevor Buckner
2021-03-12 22:24:36 -05:00
parent c4db94e86f
commit 6a12518ac1

View File

@@ -105,7 +105,7 @@ app.get('/source/:id', (req, res)=>{
//Download brew source page
app.get('/download/:id', (req, res)=>{
const prefix = config.get('name_prefix');
const prefix = 'HB - ';
if(req.params.id.length > 12) {
const googleId = req.params.id.slice(0, -12);