projects
/
qomet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
d6cda0c
)
Fix 'courses' link
author
Benjamin Auder
<benjamin.auder@somewhere>
Sat, 27 Jan 2018 23:35:20 +0000
(
00:35
+0100)
committer
Benjamin Auder
<benjamin.auder@somewhere>
Sat, 27 Jan 2018 23:35:20 +0000
(
00:35
+0100)
app.js
patch
|
blob
|
blame
|
history
diff --git
a/app.js
b/app.js
index
7dc3b41
..
5e7fdfe
100644
(file)
--- a/
app.js
+++ b/
app.js
@@
-31,7
+31,7
@@
app.use(express.static(path.join(__dirname, 'public')));
// Before any request, check cookies
app.use(function(req, res, next) {
res.locals.loggedIn = !!req.cookies.token;
- res.locals.myInitials = req.cookies.
myI
nitials; //may be undefined
+ res.locals.myInitials = req.cookies.
i
nitials; //may be undefined
next();
});