mirror of
https://github.com/System-End/site.git
synced 2026-04-20 00:25:19 +00:00
Enable Next trailing slash
This commit is contained in:
parent
86602a82eb
commit
f730dd9270
1 changed files with 1 additions and 0 deletions
|
|
@ -1,6 +1,7 @@
|
|||
const isProd = process.env.NODE_ENV === 'production'
|
||||
const withMDX = require('@next/mdx')({ extension: /\.mdx?$/ })
|
||||
module.exports = withMDX({
|
||||
experimental: { trailingSlash: true },
|
||||
pageExtensions: ['js', 'jsx', 'mdx'],
|
||||
assetPrefix: isProd ? 'https://v3.hackclub.com' : ''
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue