fix: 🚑 Add path to options request
parent
dd06876716
commit
c204ba3dc9
2
index.js
2
index.js
|
@ -18,7 +18,7 @@ const mailer = require('nodemailer').createTransport({
|
||||||
})
|
})
|
||||||
|
|
||||||
app.use(express.json()).use(cors())
|
app.use(express.json()).use(cors())
|
||||||
.options().post('/', async (req, res) => {
|
.options('/').post('/', async (req, res) => {
|
||||||
|
|
||||||
// Parse from address
|
// Parse from address
|
||||||
let from
|
let from
|
||||||
|
|
Loading…
Reference in New Issue