mirror of
				https://codeberg.org/ashley/poke
				synced 2025-07-17 16:52:11 +00:00 
			
		
		
		
	update the api url
lighttube.herokuapp.com --> tube.kuylar.dev
This commit is contained in:
		
							parent
							
								
									696bed8f51
								
							
						
					
					
						commit
						75e6339fee
					
				| @ -77,7 +77,8 @@ app.get("/", function (req, res) { | ||||
|   const things = random_words[Math.floor((Math.random()*random_words.length))]; | ||||
|   renderTemplate(res, req, "main.ejs", { | ||||
|   random:things, | ||||
| });}); | ||||
| }); | ||||
| }); | ||||
| app.get("/channel", async (req, res) => { | ||||
|     const ID = req.query.id; | ||||
|     const { toJson } = require("xml2json"); | ||||
| @ -115,7 +116,7 @@ app.get("/search", async (req, res) => { | ||||
|   const { toJson } = require("xml2json"); | ||||
|   const query = req.query.query; | ||||
|   const search = await fetch( | ||||
|     `https://lighttube.herokuapp.com/api/search?query=${query}` | ||||
|     `https://tube.kuylar.dev/api/search?query=${query}` | ||||
|   ); | ||||
|   const text = await search.text(); | ||||
|   const j = JSON.parse(toJson(text)); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Ashley
						Ashley