mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 02:55:58 +01:00 
			
		
		
		
	chore: eslint prefer-template
This commit is contained in:
		
				
					committed by
					
						 Julian Lam
						Julian Lam
					
				
			
			
				
	
			
			
			
						parent
						
							4ee0f1459d
						
					
				
				
					commit
					707b55b6a5
				
			| @@ -6,7 +6,7 @@ const db = require('../database'); | ||||
| module.exports.ping = async function (req, res, next) { | ||||
| 	try { | ||||
| 		await db.getObject('config'); | ||||
| 		res.status(200).send(req.path === nconf.get('relative_path') + '/sping' ? 'healthy' : '200'); | ||||
| 		res.status(200).send(req.path === `${nconf.get('relative_path')}/sping` ? 'healthy' : '200'); | ||||
| 	} catch (err) { | ||||
| 		next(err); | ||||
| 	} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user