Gitlab@Informatics

Skip to content
Snippets Groups Projects
Commit 1d7ba6f2 authored by 65160381's avatar 65160381
Browse files

7.2

parent 1c9ab5c7
Branches
No related tags found
No related merge requests found
Pipeline #590 passed with warnings
...@@ -63,6 +63,10 @@ app.get('/login', (req, res) => { ...@@ -63,6 +63,10 @@ app.get('/login', (req, res) => {
res.sendFile(path.join(__dirname, 'public', 'login.html')); res.sendFile(path.join(__dirname, 'public', 'login.html'));
}); });
app.get('/register', (req, res) => {
res.sendFile(path.join(__dirname, 'public', 'register.html'));
});
app.post('/register', async (req, res) => { app.post('/register', async (req, res) => {
const { email, password } = req.body; const { email, password } = req.body;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment