mirror of
				https://codeberg.org/ashley/poke
				synced 2025-07-17 16:52:11 +00:00 
			
		
		
		
	return 404 if errors
This commit is contained in:
		
							parent
							
								
									d477c04ce4
								
							
						
					
					
						commit
						fdb2c1d12e
					
				| @ -375,7 +375,9 @@ module.exports = function (app, config, renderTemplate) { | ||||
|               lyrics: "", | ||||
|             }); | ||||
|           } catch { | ||||
|             return res.send("404"); | ||||
|               renderTemplate(res, req, "404.ejs", { | ||||
|               v, | ||||
|             }); | ||||
|           } | ||||
|         } catch (error) { | ||||
|           console.error(error); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 ashley
						ashley