Live video on the AT Protocol
79
fork

Configure Feed

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

at eli/upload-fixes 29 lines 1.0 kB view raw
1export default function getEnv() { 2 let updateBaseUrl = "https://stream.place"; 3 if (process.env["AQD_UPDATE_BASE_URL"]) { 4 updateBaseUrl = process.env["AQD_UPDATE_BASE_URL"]; 5 } 6 const isDev = process.env["WEBPACK_SERVE"] === "true"; 7 if (!isDev) { 8 return { 9 isDev: false, 10 skipNode: false, 11 nodeFrontend: true, 12 updateBaseUrl, 13 }; 14 } 15 return { 16 isDev: process.env["WEBPACK_SERVE"] === "true", 17 skipNode: process.env["AQD_SKIP_NODE"] !== "false", 18 nodeFrontend: process.env["AQD_NODE_FRONTEND"] === "true", 19 updateBaseUrl, 20 }; 21} 22 23// This allows TypeScript to pick up the magic constants that's auto-generated by Forge's Webpack 24// plugin that tells the Electron app where to look for the Webpack-bundled app code (depending on 25// whether you're running in development or production). 26declare const MAIN_WINDOW_WEBPACK_ENTRY: string; 27declare const MAIN_WINDOW_PRELOAD_WEBPACK_ENTRY: string; 28 29export { MAIN_WINDOW_WEBPACK_ENTRY, MAIN_WINDOW_PRELOAD_WEBPACK_ENTRY };