aboutsummaryrefslogtreecommitdiff
path: root/lolisafe.js
diff options
context:
space:
mode:
Diffstat (limited to 'lolisafe.js')
-rw-r--r--lolisafe.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/lolisafe.js b/lolisafe.js
index dc749ee..34a1a35 100644
--- a/lolisafe.js
+++ b/lolisafe.js
@@ -26,6 +26,7 @@ safe.use(bodyParser.json())
safe.use('/', express.static('./uploads'))
safe.use('/', express.static('./public'))
safe.use('/api', api)
+safe.get('/a/:identifier', (req, res, next) => res.sendFile('album.html', {root: './pages/'}))
for(let page of config.pages){
let root = './pages/'