Skip to content

Commit

Permalink
fix: BASE_URL 원상복구
Browse files Browse the repository at this point in the history
  • Loading branch information
chan-byeong committed Nov 29, 2024
1 parent 22229c8 commit 182c8c3
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions packages/client/src/shared/api/index.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// const BASE_URL = import.meta.env.VITE_SERVER_URL
// ? `${import.meta.env.VITE_SERVER_URL}/api`
// : 'http://localhost:3000/api';

const BASE_URL = 'https://www.you-quiz.site/api';
const BASE_URL = import.meta.env.VITE_SERVER_URL
? `${import.meta.env.VITE_SERVER_URL}/api`
: 'http://localhost:3000/api';

interface FetchOptions extends Omit<RequestInit, 'body'> {
headers?: Record<string, string>;
Expand Down

0 comments on commit 182c8c3

Please sign in to comment.