Skip to content

Commit

Permalink
feat: add basepath
Browse files Browse the repository at this point in the history
  • Loading branch information
PAYNEA03 committed Aug 12, 2024
1 parent c23ce0b commit 6b414f9
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -1,23 +1,7 @@
const isProd = process.env.NODE_ENV === 'production';
console.log(isProd);

module.exports = {
output: 'standalone',
basePath: '/resourcing',
// async rewrites() {
// return {
// beforeFiles: [
// {
// source: '/',
// destination: '/resourcing',
// },
// {
// source: '/:slug*',
// destination: '/resourcing/:slug*', // Matched parameters can be used in the destination
// },
// ],
// };
// },
// Use the CDN in production and localhost for development.
assetPrefix: isProd ? '/resourcing' : undefined,
};

0 comments on commit 6b414f9

Please sign in to comment.