mirror of
				https://codeberg.org/ashley/poke
				synced 2025-07-17 16:52:11 +00:00 
			
		
		
		
	add manifest.json
This commit is contained in:
		
							parent
							
								
									75190c5a25
								
							
						
					
					
						commit
						d6b075f575
					
				| @ -29,6 +29,7 @@ const notice = | ||||
| 
 | ||||
| module.exports = function (app, config, renderTemplate) { | ||||
|   var html_location = "./css/"; | ||||
|   var location_pwa = "./pwa/"; | ||||
| 
 | ||||
|   app.get("/privacy", function (req, res) { | ||||
|     if (req.hostname == "poketube.fun") { | ||||
| @ -82,6 +83,11 @@ module.exports = function (app, config, renderTemplate) { | ||||
|     renderTemplate(res, req, "content-settings.ejs"); | ||||
|   }); | ||||
|    | ||||
|    app.get("/manifest.json", function (req, res) { | ||||
|       res.sendFile("manifest.json", { root: location_pwa }); | ||||
|   }); | ||||
| 
 | ||||
|    | ||||
|   app.get("/customize", function (req, res) { | ||||
|     const tab = req.query.tab; | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Ashley
						Ashley