mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Merger bug fix, and added lred redirection
This commit is contained in:
parent
ef7066474c
commit
5902585914
2 changed files with 7 additions and 1 deletions
|
@ -378,7 +378,7 @@ function ReadData(data) {
|
|||
try {
|
||||
currQuestion.I = JSON.parse(currData);
|
||||
} catch (e) {
|
||||
currQuestion.I = [currData];
|
||||
currQuestion.I = currData.split(',');
|
||||
}
|
||||
}
|
||||
ExpectedIdentifier = ['?', '+'];
|
||||
|
|
|
@ -170,6 +170,12 @@ app.post('/isAdding', function(req, res) {
|
|||
utils.WriteBackup();
|
||||
});
|
||||
|
||||
app.get('/lred', function(req, res) {
|
||||
res.redirect("/legacy");
|
||||
res.end();
|
||||
Log(req);
|
||||
});
|
||||
|
||||
app.get('/menuClick', function(req, res) {
|
||||
res.redirect("/");
|
||||
res.end();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue