mirror of
https://github.com/janishutz/libreevent.git
synced 2026-09-22 13:15:25 +02:00
prepare payment gateway settings
This commit is contained in:
1 parent
6ac4fd9cda
commit
6a3127a35a
10 files changed
+57
-21
No files matched your search
@@ -0,0 +1,20 @@
|
||||
const path = require( 'path' );
|
||||
|
||||
module.exports = ( app, settings ) => {
|
||||
app.get( '/eventAssets/:image', ( req, res ) => {
|
||||
res.sendFile( path.join( __dirname + '/../assets/events/' + req.params.image ) );
|
||||
} );
|
||||
|
||||
app.get( '/otherAssets/:image', ( req, res ) => {
|
||||
res.sendFile( path.join( __dirname + '/../assets/' + req.params.image ) );
|
||||
} );
|
||||
|
||||
app.get( '/supportFiles/:file', ( req, res ) => {
|
||||
res.sendFile( path.join( __dirname + '/../ui/home/templates/' + settings.startPage + '/supportFiles/' + req.params.file ) );
|
||||
} );
|
||||
|
||||
// TODO: Decide if removed or not
|
||||
app.get( '/startPage/helperFunction', ( req, res ) => {
|
||||
res.sendFile( path.join( __dirname + '/../ui/home/helper.js' ) );
|
||||
} );
|
||||
};
|
||||
Reference in new issue
Block a user