Skip to content

Commit

Permalink
Merge pull request #207 from Nexters/fix/super-admin-env
Browse files Browse the repository at this point in the history
fix: 슈퍼 어드민 환경변수 값 수정
  • Loading branch information
hexdrinker authored Oct 6, 2024
2 parents 47ff9dd + 29b4c11 commit 3140324
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/api/src/fetcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { isBooltiHTTPError } from './BooltiHTTPError';
import { LOCAL_STORAGE } from './constants';

const API_URL = import.meta.env.VITE_BASE_API_URL;
const IS_SUPER_ADMIN = import.meta.env.IS_SUPER_ADMIN === 'true';
const IS_SUPER_ADMIN = import.meta.env.VITE_IS_SUPER_ADMIN === 'true';

interface PostRefreshTokenResponse {
accessToken: string;
Expand Down
2 changes: 1 addition & 1 deletion packages/api/src/vite-env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
interface ImportMetaEnv {
readonly VITE_KAKAO_REST_API_KEY: string;
readonly VITE_BASE_API_URL: string;
readonly IS_SUPER_ADMIN: string;
readonly VITE_IS_SUPER_ADMIN: string;
}

interface ImportMeta {
Expand Down

0 comments on commit 3140324

Please sign in to comment.