diff --git a/apps/web/app/interfaces/IRuntimeServerConfig.ts b/apps/web/app/interfaces/IRuntimeServerConfig.ts index cff07e845..1dad7010c 100644 --- a/apps/web/app/interfaces/IRuntimeServerConfig.ts +++ b/apps/web/app/interfaces/IRuntimeServerConfig.ts @@ -1,4 +1,4 @@ -export interface ServerRuntimeConfig { +export interface IServerRuntimeConfig { GAUZY_API_SERVER_URL?: string; NEXT_PUBLIC_GAUZY_API_SERVER_URL?: string; [key: string]: any; diff --git a/apps/web/app/services/server/requests/desktop-source.ts b/apps/web/app/services/server/requests/desktop-source.ts index 92d5f2c09..be0633e02 100644 --- a/apps/web/app/services/server/requests/desktop-source.ts +++ b/apps/web/app/services/server/requests/desktop-source.ts @@ -1,8 +1,8 @@ import getConfig from 'next/config'; -import { ServerRuntimeConfig } from '@app/interfaces/IRuntimeServerConfig'; +import { IServerRuntimeConfig } from '@app/interfaces/IRuntimeServerConfig'; import { GAUZY_API_SERVER_URL, GAUZY_API_BASE_SERVER_URL } from '@app/constants'; -export function getDesktopConfig(): Partial { +export function getDesktopConfig(): Partial { try { const { serverRuntimeConfig } = getConfig(); return serverRuntimeConfig;