Skip to content

Commit

Permalink
fix: removed other config next prop, missing upgrade next packages
Browse files Browse the repository at this point in the history
  • Loading branch information
Juanestban committed Jan 27, 2024
1 parent 8865b1c commit 4be0e6a
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,10 @@ import connect from './config/mongoose.mjs';
env.config();
connect();

const isProduction = process.env.NODE_ENV === 'production' || process.env.GITHUB_ACTIONS;
const basePath = isProduction ? '/lilith-notipad' : '/';

/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
swcMinify: true,
basePath,
assetPrefix: './',
env: {
MONGODB_ATLAS_USERNAME: process.env.MONGODB_ATLAS_USERNAME,
MONGODB_ATLAS_PASSWORD: process.env.MONGODB_ATLAS_PASSWORD,
Expand Down

0 comments on commit 4be0e6a

Please sign in to comment.