Files
web/next.config.ts

37 lines
620 B
TypeScript

import createMDX from '@next/mdx'
export default createMDX({
options: {
rehypePlugins: [
['rehype-highlight', null],
],
},
})({
output: 'standalone',
pageExtensions: ['js', 'jsx', 'mdx', 'ts', 'tsx'],
allowedDevOrigins: [
'192.168.3.42',
],
experimental: {
mdxRs: {
mdxType: 'gfm',
},
},
images: {
localPatterns: [
{
pathname: '/captcha',
},
],
remotePatterns: [
{
protocol: 'https',
hostname: 'pay.rscygroup.com',
port: '',
pathname: '/api/scan/imgs/*',
search: '',
},
],
},
})