Skip to content

Commit

Permalink
refact web k8 ops
Browse files Browse the repository at this point in the history
  • Loading branch information
vishalmishraa committed Sep 8, 2024
1 parent 54e4610 commit 5da2e3f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
File renamed without changes.
15 changes: 7 additions & 8 deletions apps/web/next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
/** @type {import('next').NextConfig} */


import dotenv from "dotenv";
import path from "path";
const nextConfig = {
typescript: {
ignoreBuildErrors: true
},
eslint: {
ignoreDuringBuilds: true
},
env: {
MOUNT_PATH: process.env.MOUNT_PATH,
NEXTAUTH_SECRET: process.env.NEXTAUTH_SECRET,
JWT_SECRET: process.env.JWT_SECRET,
DATABASE_URL: process.env.DATABASE_URL,
REDIS_URL: process.env.REDIS_URL,
JUDGE0_URI: process.env.JUDGE0_URI
}
env: dotenv.config({
path: path.resolve('./config/.env')
}).parsed || {}
};

export default nextConfig;
1 change: 1 addition & 0 deletions apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"bcrypt": "^5.1.1",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"dotenv": "^16.4.5",
"ioredis": "^5.4.1",
"lucide-react": "^0.411.0",
"moment": "^2.30.1",
Expand Down

0 comments on commit 5da2e3f

Please sign in to comment.