Merge importPage functions into newPage.
This commit is contained in:
1 parent
ed23578dcf
commit
2f9bd00d70
5 files changed
+24
-221
No files matched your search
@@ -144,7 +144,7 @@ app.get('/edit/:id', (req, res, next)=>{
|
||||
}
|
||||
});
|
||||
|
||||
//Import Page
|
||||
//New Page
|
||||
app.get('/new/:id', (req, res, next)=>{
|
||||
res.header('Cache-Control', 'no-cache, no-store'); //reload the latest saved brew when pressing back button, not the cached version before save.
|
||||
if(req.params.id.length > 12) {
|
||||
|
||||
Reference in new issue
Block a user