Brendan Abolivier 8 年之前
父節點
當前提交
38b50d2386
簽署人: Brendan Abolivier <contact@brendanabolivier.com> GPG 金鑰 ID: 8EF1500759F70623
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. 1
    0
      server.js

+ 1
- 0
server.js 查看文件

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