Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Limchansol committed Apr 7, 2024
2 parents df5f239 + 191a2f5 commit 6af78bd
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
5 changes: 4 additions & 1 deletion apis/common.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
export const BASE_URL = 'https://cse-dev-waffle.bacchus.io/api/v1';
export const BASE_URL =
process.env.NODE_ENV === 'development'
? 'https://cse-dev-waffle.bacchus.io/api/v1'
: 'https://csereal-prod.bacchus.io/api/v1';

export const checkError = (response: Response) => {
if (response.ok) return;
Expand Down
6 changes: 6 additions & 0 deletions next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ const nextConfig = {
},
},

eslint: {
// Warning: This allows production builds to successfully complete even if
// your project has ESLint errors.
ignoreDuringBuilds: true,
},

// react-svgr 설정
// https://react-svgr.com/docs/next/
webpack(config) {
Expand Down
Binary file modified public/image/main/background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 6af78bd

Please sign in to comment.