mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 02:55:58 +01:00 
			
		
		
		
	update regex
This commit is contained in:
		
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							d61665c20a
						
					
				
				
					commit
					a3e327301b
				
			| @@ -353,7 +353,7 @@ Controllers.ping = function (req, res) { | ||||
|  | ||||
| Controllers.handle404 = function (req, res) { | ||||
| 	var relativePath = nconf.get('relative_path'); | ||||
| 	var isClientScript = new RegExp('^' + relativePath + '\\/src\\/.+\\.js'); | ||||
| 	var isClientScript = new RegExp('^' + relativePath + '\\/assets\\/src\\/.+\\.js'); | ||||
|  | ||||
| 	if (plugins.hasListeners('action:meta.override404')) { | ||||
| 		return plugins.fireHook('action:meta.override404', { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user