pstream is dead; long live pstream taciturnaxolotl.github.io/pstream-ng/
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

move const await to async

Pas 2a4b74bb 94e4e930

+3 -3
+3 -3
src/pages/parts/settings/SetupPart.tsx
··· 51 51 } 52 52 }; 53 53 54 - const BASE_URL = await getBaseUrl(); 55 - 56 54 const testUrl = "https://postman-echo.com/get"; 57 - const febboxApiTestUrl = `${BASE_URL}/movie/tt13654226`; 58 55 59 56 const sleep = (ms: number): Promise<void> => { 60 57 return new Promise((resolve) => { ··· 88 85 export async function testFebboxToken( 89 86 febboxToken: string | null, 90 87 ): Promise<Status> { 88 + const BASE_URL = await getBaseUrl(); 89 + const febboxApiTestUrl = `${BASE_URL}/movie/tt13654226`; 90 + 91 91 if (!febboxToken) { 92 92 return "unset"; 93 93 }