From e219197e2fd39b4db0904d61a140616b106f92ab Mon Sep 17 00:00:00 2001 From: Manav Rathi Date: Tue, 12 Mar 2024 15:07:06 +0530 Subject: [PATCH] Fix import --- desktop/src/utils/createWindow.ts | 2 +- desktop/src/utils/main.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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) {