|
@@ -23,6 +23,7 @@ app.use(express.static('front'));
|
23
|
23
|
app.use(bodyParser.urlencoded({ extended: true }));
|
24
|
24
|
app.use(bodyParser.json());
|
25
|
25
|
|
|
26
|
+
|
26
|
27
|
// A request on /send with user input = mail to be sent
|
27
|
28
|
app.post('/send', function(req, res, next) {
|
28
|
29
|
// params will be used as:
|