prepare newsletter plugin

This commit is contained in:
janishutz committed 2023-09-16 11:49:35 +02:00
1 parent 364f1d4c38
commit 892772bcb9
8 files changed
+272 -1

No files matched your search

@@ -11,7 +11,7 @@ const path = require( 'path' );
const mm = require( '../../../mail/mailSender.js' );
const sendMail = new mm();
module.exports = ( app, settings ) => {
module.exports = ( app ) => {
app.get( '/admin/mail/compose', ( request, response ) => {
if ( request.session.loggedInAdmin ) {
response.sendFile( path.join( __dirname + '/html/compose.html' ) );