diff --git a/desktop/src/utils/createWindow.ts b/desktop/src/utils/createWindow.ts index b9e6a5b471..29fc785d23 100644 --- a/desktop/src/utils/createWindow.ts +++ b/desktop/src/utils/createWindow.ts @@ -1,13 +1,13 @@ import { app, BrowserWindow, nativeImage } from "electron"; import ElectronLog from "electron-log"; import * as path from "path"; -import { PROD_HOST_URL } from "../config"; import { isAppQuitting } from "../main"; import autoLauncher from "../services/autoLauncher"; import { logErrorSentry } from "../services/sentry"; import { getHideDockIconPreference } from "../services/userPreference"; import { isDev } from "./common"; import { isPlatform } from "./common/platform"; +import { PROD_HOST_URL } from "./main"; export async function createWindow(): Promise { const appImgPath = isDev diff --git a/desktop/src/utils/main.ts b/desktop/src/utils/main.ts index 8f850af79a..21bb3b9e7b 100644 --- a/desktop/src/utils/main.ts +++ b/desktop/src/utils/main.ts @@ -14,7 +14,7 @@ import { isPlatform } from "./common/platform"; import { buildContextMenu, buildMenuBar } from "./menu"; const execAsync = util.promisify(require("child_process").exec); -const PROD_HOST_URL: string = "ente://app"; +export const PROD_HOST_URL: string = "ente://app"; const RENDERER_OUTPUT_DIR: string = "./out"; export async function handleUpdates(mainWindow: BrowserWindow) {