Skip to content

Commit

Permalink
Add basePath to next.config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
evseevnn committed Mar 21, 2024
1 parent 0422e04 commit f0348f0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ const headers = require('./nextjs/headers');
const redirects = require('./nextjs/redirects');
const rewrites = require('./nextjs/rewrites');

const basePath = process.env.NEXT_APP_BASE_PATH || '';

const moduleExports = {
basePath,
transpilePackages: [
'react-syntax-highlighter',
'swagger-client',
Expand Down

0 comments on commit f0348f0

Please sign in to comment.