diff --git a/web/apps/web/next.config.js b/web/apps/web/next.config.js index 2684ef89..4b0eadca 100644 --- a/web/apps/web/next.config.js +++ b/web/apps/web/next.config.js @@ -30,10 +30,7 @@ module.exports = { return config; }, rewrites: async () => { - const NEXT_PUBLIC_API_URL = - process.env.NODE_ENV === 'development' - ? 'http://34.239.158.245:8099' - : process.env.NEXT_PUBLIC_API_URL || 'http://34.239.158.245:8098'; + const NEXT_PUBLIC_API_URL = process.env.NEXT_PUBLIC_API_URL; return [ { source: '/api/:path*', diff --git a/web/package.json b/web/package.json index 8730bc12..c1dc3ef2 100644 --- a/web/package.json +++ b/web/package.json @@ -3,9 +3,9 @@ "private": true, "author": "kun", "scripts": { - "build": "turbo build", - "dev": "turbo dev", - "lint": "turbo lint", + "build": "turbo build --filter=!storybook", + "dev": "turbo dev --filter=!storybook", + "lint": "turbo lint --filter=!storybook", "type-check": "turbo type-check", "clean": "turbo clean", "prepare": "cd .. && husky ./web/.husky",