Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Administrator
m4lab_landing_page
Commits
b267c7ed
Commit
b267c7ed
authored
Dec 06, 2019
by
Wolfgang Knopki
Browse files
set paths to relative instead of global
parent
69511069
Changes
1
Show whitespace changes
Inline
Side-by-side
routes/routes.js
View file @
b267c7ed
...
@@ -63,7 +63,7 @@ module.exports = function (app, config, passport) {
...
@@ -63,7 +63,7 @@ module.exports = function (app, config, passport) {
res.send(JSON.stringify(req.flash('test')));
res.send(JSON.stringify(req.flash('test')));
});
});
*/
*/
app
.
get
(
'
.
/
'
,
function
(
req
,
res
)
{
app
.
get
(
'
/
'
,
function
(
req
,
res
)
{
res
.
redirect
(
'
./profile
'
)
res
.
redirect
(
'
./profile
'
)
});
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment