mirror of
				https://codeberg.org/ashley/poke
				synced 2025-07-17 16:52:11 +00:00 
			
		
		
		
	change api url :3
This commit is contained in:
		
							parent
							
								
									75fa540a94
								
							
						
					
					
						commit
						2a40e78a2d
					
				| @ -103,7 +103,7 @@ module.exports = function (app, config, renderTemplate) { | ||||
|     const id = req.query.v; | ||||
|     const l = req.query.h; | ||||
| 
 | ||||
|     let url = `https://tube-srv.ashley143.gay/proxy/caption/${id}/${l}/`; | ||||
|     let url = `https://inner-api.poketube.fun/proxy/caption/${id}/${l}/`; | ||||
| 
 | ||||
|     let f = await modules.fetch(url); | ||||
|     const body = await f.text(); | ||||
| @ -135,7 +135,7 @@ module.exports = function (app, config, renderTemplate) { | ||||
| 
 | ||||
|   app.get("/api/version.json", async (req, res) => { | ||||
|     const invidious = await modules | ||||
|       .fetch("https://inv-api.poketube.fun/api/v1/stats") | ||||
|       .fetch("https://invid-api.poketube.fun/api/v1/stats") | ||||
|       .then((res) => res.text()) | ||||
|       .then((txt) => getJson(txt)); | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Ashley
						Ashley