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:
		@@ -378,7 +378,7 @@ function ReadData(data) {
 | 
				
			|||||||
				try {
 | 
									try {
 | 
				
			||||||
					currQuestion.I = JSON.parse(currData);
 | 
										currQuestion.I = JSON.parse(currData);
 | 
				
			||||||
				} catch (e) {
 | 
									} catch (e) {
 | 
				
			||||||
					currQuestion.I = [currData];
 | 
										currQuestion.I = currData.split(',');
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
			ExpectedIdentifier = ['?', '+'];
 | 
								ExpectedIdentifier = ['?', '+'];
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -170,6 +170,12 @@ app.post('/isAdding', function(req, res) {
 | 
				
			|||||||
	utils.WriteBackup();
 | 
						utils.WriteBackup();
 | 
				
			||||||
});
 | 
					});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					app.get('/lred', function(req, res) {
 | 
				
			||||||
 | 
						res.redirect("/legacy");
 | 
				
			||||||
 | 
						res.end();
 | 
				
			||||||
 | 
						Log(req);
 | 
				
			||||||
 | 
					});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
app.get('/menuClick', function(req, res) {
 | 
					app.get('/menuClick', function(req, res) {
 | 
				
			||||||
	res.redirect("/");
 | 
						res.redirect("/");
 | 
				
			||||||
	res.end();
 | 
						res.end();
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user