fix: blog links
This commit is contained in:
@@ -1,9 +1,14 @@
|
||||
const env = process.env.NODE_ENV;
|
||||
|
||||
const withNextra = require('nextra')({
|
||||
theme: 'nextra-theme-docs',
|
||||
themeConfig: './theme.config.tsx'
|
||||
});
|
||||
|
||||
module.exports = {
|
||||
basePath: '/docs',
|
||||
basePath: env === 'production' ? '/docs' : undefined,
|
||||
env: {
|
||||
imagePath: env === 'production' ? '/docs' : ''
|
||||
},
|
||||
...withNextra()
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user