mirror of
				https://codeberg.org/ashley/poke
				synced 2025-07-17 16:52:11 +00:00 
			
		
		
		
	add verified instance :3
This commit is contained in:
		
							parent
							
								
									d056563324
								
							
						
					
					
						commit
						a6290f597f
					
				| @ -186,10 +186,10 @@ module.exports = function (app, config, renderTemplate) { | ||||
|     const isvld = await core.isvalidvideo(v); | ||||
|     if (!v) res.redirect("/"); | ||||
| 
 | ||||
| 
 | ||||
|     const u = await media_proxy(v); | ||||
| 
 | ||||
|     var secure; | ||||
|     var verify; | ||||
| 
 | ||||
|     if ( | ||||
|       req.hostname == "poketube.fun" || | ||||
| @ -202,6 +202,12 @@ module.exports = function (app, config, renderTemplate) { | ||||
|       secure = false; | ||||
|     } | ||||
| 
 | ||||
|     if (req.hostname == "pt.zzls.xyz") { | ||||
|       verify = true; | ||||
|     } else { | ||||
|       verify = false; | ||||
|     } | ||||
| 
 | ||||
|     try { | ||||
|       const info = await modules.fetch("http://ip-api.com/json/"); | ||||
|       const jj = await info.text(); | ||||
| @ -246,7 +252,6 @@ module.exports = function (app, config, renderTemplate) { | ||||
|                     var d = false; | ||||
|                   } | ||||
| 
 | ||||
| 
 | ||||
|                   renderTemplate(res, req, "poketube.ejs", { | ||||
|                     color: data.color, | ||||
|                     color2: data.color2, | ||||
| @ -257,6 +262,7 @@ module.exports = function (app, config, renderTemplate) { | ||||
|                     e, | ||||
|                     a, | ||||
|                     k, | ||||
|                     verify, | ||||
|                     secure, | ||||
|                     process, | ||||
|                     sha384, | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Ashley
						Ashley