mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 20:16:04 +01:00
added login, fixed gitignore
This commit is contained in:
@@ -21,6 +21,13 @@ var express = require('express'),
|
||||
res.end(body);
|
||||
});
|
||||
|
||||
app.get('/login', function(req, res) {
|
||||
var body = templates['header'] + templates['login'] + templates['footer'];
|
||||
res.setHeader('Content-Type', 'text/html');
|
||||
res.setHeader('Content-Length', body.length);
|
||||
res.end(body);
|
||||
});
|
||||
|
||||
|
||||
app.get('/register', function(req, res) {
|
||||
var body = templates['header'] + templates['register'] + templates['footer'];
|
||||
|
||||
Reference in New Issue
Block a user