2025-06-09 16:55:44 +08:00
|
|
|
import createMDX from '@next/mdx'
|
2025-03-04 10:10:35 +08:00
|
|
|
|
2025-06-09 16:55:44 +08:00
|
|
|
export default createMDX({
|
2025-12-09 09:32:20 +08:00
|
|
|
extension: /\.(md|mdx)$/,
|
2025-06-09 16:55:44 +08:00
|
|
|
options: {
|
|
|
|
|
rehypePlugins: [
|
|
|
|
|
['rehype-highlight', null],
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
})({
|
2025-12-09 09:32:20 +08:00
|
|
|
pageExtensions: ['js', 'jsx', 'md', 'mdx', 'ts', 'tsx'],
|
2025-06-09 16:55:44 +08:00
|
|
|
output: 'standalone',
|
2025-12-04 19:07:48 +08:00
|
|
|
allowedDevOrigins: [
|
|
|
|
|
'192.168.3.42',
|
|
|
|
|
],
|
2025-06-06 16:17:33 +08:00
|
|
|
experimental: {
|
2025-06-09 16:55:44 +08:00
|
|
|
mdxRs: {
|
|
|
|
|
mdxType: 'gfm',
|
|
|
|
|
},
|
|
|
|
|
},
|
2025-06-23 18:59:31 +08:00
|
|
|
images: {
|
2025-11-20 12:10:16 +08:00
|
|
|
localPatterns: [
|
|
|
|
|
{
|
|
|
|
|
pathname: '/captcha',
|
|
|
|
|
},
|
|
|
|
|
],
|
2025-06-23 18:59:31 +08:00
|
|
|
remotePatterns: [
|
|
|
|
|
{
|
|
|
|
|
protocol: 'https',
|
|
|
|
|
hostname: 'pay.rscygroup.com',
|
|
|
|
|
port: '',
|
|
|
|
|
pathname: '/api/scan/imgs/*',
|
|
|
|
|
search: '',
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
2025-06-05 17:29:32 +08:00
|
|
|
})
|