mirror of
https://github.com/janishutz/libreevent.git
synced 2025-11-25 21:34:24 +00:00
prepare payment gateway settings
This commit is contained in:
@@ -11,7 +11,6 @@ const posth = require( './api/postHandler.js' );
|
||||
const geth = require( './api/getHandler.js' );
|
||||
const postHandler = new posth();
|
||||
const getHandler = new geth();
|
||||
const path = require( 'path' );
|
||||
const bodyParser = require( 'body-parser' );
|
||||
|
||||
module.exports = ( app, settings ) => {
|
||||
@@ -39,12 +38,4 @@ module.exports = ( app, settings ) => {
|
||||
res.status( error.code ).send( error.message );
|
||||
} );
|
||||
} );
|
||||
|
||||
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 ) );
|
||||
} );
|
||||
};
|
||||
Reference in New Issue
Block a user