🪻 distributed transcription service thistle.dunkirk.sh
1
fork

Configure Feed

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

chore: remove hardcoded thistle.app

+4 -11
+3 -10
src/lib/passkey.ts
··· 62 62 * Get RP ID and origin based on environment 63 63 */ 64 64 function getRPConfig(): { rpID: string; rpName: string; origin: string } { 65 - if (process.env.NODE_ENV === "production") { 66 - return { 67 - rpID: process.env.RP_ID || "thistle.app", 68 - rpName: "Thistle", 69 - origin: process.env.ORIGIN || "https://thistle.app", 70 - }; 71 - } 72 65 return { 73 - rpID: "localhost", 74 - rpName: "Thistle (Dev)", 75 - origin: "http://localhost:3000", 66 + rpID: process.env.RP_ID || "localhost", 67 + rpName: "Thistle", 68 + origin: process.env.ORIGIN || "http://localhost:3000", 76 69 }; 77 70 } 78 71
+1 -1
src/lib/vtt-cleaner.ts
··· 266 266 headers: { 267 267 "Content-Type": "application/json", 268 268 Authorization: `Bearer ${apiKey}`, 269 - "HTTP-Referer": "https://thistle.app", 269 + "HTTP-Referer": process.env.ORIGIN || "http://localhost:3000", 270 270 "X-Title": `Thistle Transcription Chunk ${chunkIndex}`, 271 271 }, 272 272 body: JSON.stringify({