Skip to content

Commit

Permalink
getIsDevelopment 로직 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
YOOJS1205 committed Mar 2, 2025
1 parent 89fdb55 commit a409449
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/utils/cn/getEnvironment.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
export const getIsDevelopment = (): boolean => {
if (import.meta.env.PROD) {
return false;
}

return true;
return (
window.location.origin.includes('dev.') ||
window.location.origin.includes('localhost')
);
};

0 comments on commit a409449

Please sign in to comment.