Skip to content
Snippets Groups Projects
Commit e84b15a0 authored by Ferenc Schulcz's avatar Ferenc Schulcz
Browse files

Do not redirect /

parent a8bf6383
No related branches found
No related tags found
No related merge requests found
......@@ -11,9 +11,6 @@ const registerMW = require('./middleware/registerMW');
const replyMW = require('./middleware/replyMW');
const updateMW = require('./middleware/updateMW');
// just redirects to main webpage
app.get('/', (req, res, next) => { return res.redirect('https://sferi.hu/') });
// register a new dyndns record
app.get('/register', registerMW(), replyMW());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment