mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-14 15:03:07 +00:00
Hardcode prefix
This commit is contained in:
@@ -105,7 +105,7 @@ app.get('/source/:id', (req, res)=>{
|
|||||||
|
|
||||||
//Download brew source page
|
//Download brew source page
|
||||||
app.get('/download/:id', (req, res)=>{
|
app.get('/download/:id', (req, res)=>{
|
||||||
const prefix = config.get('name_prefix');
|
const prefix = 'HB - ';
|
||||||
|
|
||||||
if(req.params.id.length > 12) {
|
if(req.params.id.length > 12) {
|
||||||
const googleId = req.params.id.slice(0, -12);
|
const googleId = req.params.id.slice(0, -12);
|
||||||
|
|||||||
Reference in New Issue
Block a user