Skip to content

Commit

Permalink
Update app/utils/api/setup-url.util.ts
Browse files Browse the repository at this point in the history
Co-authored-by: yougyung <[email protected]>
  • Loading branch information
seonghunYang and yougyung authored Jul 17, 2024
1 parent e0d2f17 commit b04114f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/utils/api/setup-url.util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ const MOCK_API_URLS = {
};

export function setupURL() {
const isServerMoockingEnabled = process.env.API_MOCKING === 'enable';
const isClientMoockingEnabled = process.env.NEXT_PUBLIC_API_MOCKING === 'enable';
const isServerMockingEnabled = process.env.API_MOCKING === 'enable';
const isClientMockingEnabled = process.env.NEXT_PUBLIC_API_MOCKING === 'enable';

if (isMockServer()) {
return MOCK_API_URLS;
Expand Down

0 comments on commit b04114f

Please sign in to comment.