mirror of
				https://codeberg.org/ashley/poke
				synced 2025-07-17 16:52:11 +00:00 
			
		
		
		
	add static lol
This commit is contained in:
		
							parent
							
								
									023a373b1d
								
							
						
					
					
						commit
						a70df2302f
					
				| @ -152,7 +152,7 @@ module.exports = function (app, config, renderTemplate) { | ||||
|       const minimizedCss = new CleanCSS().minify(css).styles; | ||||
|       // Serve the minimized CSS file
 | ||||
|       res.header("Content-Type", "text/css"); | ||||
|       res.send(notice + " " + minimizedCss); | ||||
|       res.send(notice + " " + minimizedCss.replace("https://p.poketube.fun", config.p_url)); | ||||
|     } else { | ||||
|       // Serve the original file
 | ||||
|       res.sendFile(req.params.id, { root: html_location }); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Ashley ////
						Ashley ////