change test targets
This commit is contained in:
parent
e0138c4164
commit
62a99c028f
2
index.ts
2
index.ts
|
|
@ -25,7 +25,7 @@ const innertubePool = createInnertubePool(parseInt(Bun.env.INNERTUBE_POOL_SIZE |
|
||||||
|
|
||||||
app.get('/health', async (req, res) => {
|
app.get('/health', async (req, res) => {
|
||||||
try {
|
try {
|
||||||
const urls = ['/video/sRMMwpDTs5k', '/channel/UCRijo3ddMTht_IHyNSNXpNQ', '/videos/UCRijo3ddMTht_IHyNSNXpNQ']
|
const urls = ['/video/sRMMwpDTs5k', '/channel/UCEcryET60dO0HgVGjZ6WnXA', '/videos/UCEcryET60dO0HgVGjZ6WnXA']
|
||||||
|
|
||||||
const results = await Promise.all(urls.map(async (url) => {
|
const results = await Promise.all(urls.map(async (url) => {
|
||||||
const response = await fetch(`http://localhost:8008${url}`);
|
const response = await fetch(`http://localhost:8008${url}`);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue