projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add (real) Football chess
[vchess.git]
/
server
/
routes
/
messages.js
diff --git
a/server/routes/messages.js
b/server/routes/messages.js
index
9355ff9
..
441abdb
100644
(file)
--- a/
server/routes/messages.js
+++ b/
server/routes/messages.js
@@
-1,7
+1,7
@@
let router = require("express").Router();
const access = require("../utils/access");
let router = require("express").Router();
const access = require("../utils/access");
-const sendEmail = require(
__dirname.replace("/routes", "/utils/mailer")
);
-const params = require(
__dirname.replace("/routes", "/config/parameters")
);
+const sendEmail = require(
"../utils/mailer"
);
+const params = require(
"../config/parameters"
);
// Send a message through contact form
router.post("/messages", access.ajax, (req,res) => {
// Send a message through contact form
router.post("/messages", access.ajax, (req,res) => {