Skip to content

Commit

Permalink
fix: naming interface runtime server config
Browse files Browse the repository at this point in the history
  • Loading branch information
syns2191 committed Dec 1, 2024
1 parent dd55260 commit ebe2aee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apps/web/app/interfaces/IRuntimeServerConfig.ts
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
4 changes: 2 additions & 2 deletions apps/web/app/services/server/requests/desktop-source.ts
Original file line number Diff line number Diff line change
@@ -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<ServerRuntimeConfig> {
export function getDesktopConfig(): Partial<IServerRuntimeConfig> {
try {
const { serverRuntimeConfig } = getConfig();
return serverRuntimeConfig;
Expand Down

0 comments on commit ebe2aee

Please sign in to comment.