Skip to content

Commit

Permalink
fix: miss spell word
Browse files Browse the repository at this point in the history
  • Loading branch information
syns2191 committed Nov 25, 2024
1 parent 10f062c commit 48e6cbd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/web/app/services/client/axios.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ apiDirect.interceptors.response.use(

type APIConfig = AxiosRequestConfig<any> & { tenantId?: string; directAPI?: boolean };

async function desktopServerOveride() {
async function desktopServerOverride() {
if (typeof window !== 'undefined') {
try {
const serverConfig = await api.get('/desktop-server');
Expand All @@ -106,7 +106,7 @@ async function apiConfig(config?: APIConfig) {
let baseURL: string | undefined = GAUZY_API_BASE_SERVER_URL.value;

if (IS_DESKTOP_APP) { // dynamic api host while on desktop mode
const runtimeConfig = await desktopServerOveride();
const runtimeConfig = await desktopServerOverride();
baseURL = runtimeConfig;
}

Expand Down

0 comments on commit 48e6cbd

Please sign in to comment.