mirror of
https://github.com/janishutz/libreevent.git
synced 2025-11-25 05:14:23 +00:00
mobile optimize popups and notifications
This commit is contained in:
@@ -22,6 +22,11 @@ module.exports = ( app, settings ) => {
|
||||
} );
|
||||
|
||||
app.get( '/startPage/assets/:image', ( req, res ) => {
|
||||
res.sendFile( path.join( __dirname + '/../assets/' + settings.startPage + '/assets/' + req.param.image ) );
|
||||
res.sendFile( path.join( __dirname + '/../assets/' + settings.startPage + '/assets/' + req.params.image ) );
|
||||
} );
|
||||
|
||||
app.get( '/startPage/preview/:template', ( req, res ) => {
|
||||
// TODO: only allow when logged in
|
||||
res.sendFile( path.join( __dirname + '/../ui/home/templates/' + req.params.template + '/index.html' ) );
|
||||
} );
|
||||
};
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user