diff --git a/common/header.ejs b/common/header.ejs new file mode 100644 index 0000000..d551b0d --- /dev/null +++ b/common/header.ejs @@ -0,0 +1,5 @@ + \ No newline at end of file diff --git a/index2.js b/index2.js index a6152ac..7e5e9d3 100644 --- a/index2.js +++ b/index2.js @@ -21,6 +21,10 @@ app.get('/profile' , (req , res) => { res.render('profile' , {user}); }); +app.get('/login' , (req , res) => { +res.render('login') +}) + app.listen(port , (err) => { if(!err){ diff --git a/public/index.html b/public/index.html index b8acc56..df5cff7 100644 --- a/public/index.html +++ b/public/index.html @@ -7,6 +7,7 @@