mirror of
				https://codeberg.org/ashley/poke
				synced 2025-07-17 16:52:11 +00:00 
			
		
		
		
	use the api key
This commit is contained in:
		
							parent
							
								
									a62433c6f9
								
							
						
					
					
						commit
						798688d105
					
				| @ -196,7 +196,7 @@ app.use("/sb/i/:v/:imagePath/:img", async function (req, res) { | ||||
|  app.get("/api/improving-poke/getsugesstions", async (req, res) => { | ||||
|     const query = req.query.q; | ||||
| 
 | ||||
|     let url = `https://invid-api.poketube.fun/api/v1/search/suggestions?q=${query}`; | ||||
|     let url = `https://invid-api.poketube.fun/bHj665PpYhUdPWuKPfZuQGoX/api/v1/search/suggestions?q=${query}`; | ||||
| 
 | ||||
|     let f = await modules.fetch(url, { | ||||
|       method: req.method, | ||||
| @ -227,7 +227,7 @@ app.use("/sb/i/:v/:imagePath/:img", async function (req, res) { | ||||
|     let latestCommitHash; | ||||
| 
 | ||||
|     const invidious = await modules | ||||
|       .fetch("https://invid-api.poketube.fun/api/v1/stats") | ||||
|       .fetch("https://invid-api.poketube.fun/bHj665PpYhUdPWuKPfZuQGoX/api/v1/stats") | ||||
|       .then((res) => res.text()) | ||||
|       .then((txt) => getJson(txt)); | ||||
|         | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 ashley
						ashley