修复提取 ip 接口json类型返回值错误问题;完善 ip 提取页响应式设计

This commit is contained in:
2025-06-09 16:55:44 +08:00
parent 0f34b938e5
commit f15fa7f72d
15 changed files with 517 additions and 531 deletions

View File

@@ -1,20 +1,17 @@
import type { NextConfig } from "next"
import createMDX from "@next/mdx"
import remarkGfm from 'remark-gfm'
import createMDX from '@next/mdx'
const nextConfig: NextConfig = {
output: "standalone",
export default createMDX({
options: {
rehypePlugins: [
['rehype-highlight', null],
],
},
})({
output: 'standalone',
pageExtensions: ['js', 'jsx', 'mdx', 'ts', 'tsx'],
experimental: {
mdxRs: true,
}
}
const withMdx = createMDX({
options: {
remarkPlugins: [remarkGfm],
rehypePlugins: [],
}
mdxRs: {
mdxType: 'gfm',
},
},
})
export default withMdx(nextConfig)