mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 02:55:58 +01:00 
			
		
		
		
	fix redirects
This commit is contained in:
		| @@ -49,7 +49,7 @@ helpers.redirect = function(res, url) { | ||||
| 	if (res.locals.isAPI) { | ||||
| 		res.status(302).json(url); | ||||
| 	} else { | ||||
| 		res.redirect(url); | ||||
| 		res.redirect(nconf.get('relative_path') + url); | ||||
| 	} | ||||
| }; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user