Browse Source

修改图片大小

李富豪 5 months ago
parent
commit
07e18e69c8
2 changed files with 3 additions and 2 deletions
  1. 2 1
      app/components/markdown.tsx
  2. 1 1
      next.config.mjs

+ 2 - 1
app/components/markdown.tsx

@@ -233,8 +233,9 @@ function _MarkDownContent(props: { content: string }) {
           return <a {...aProps} target={target} />;
         },
         img: ({ src, alt }) => (
-          <div>
+          <div style={{ width: '100%', height: 'auto', cursor: 'pointer' }}>
             <Image
+              width='80%'
               src={src}
               alt={alt}
               preview={{

+ 1 - 1
next.config.mjs

@@ -92,7 +92,7 @@ if (mode !== "export") {
       },
       {
         source: "/bigmodel-api/:path*",
-        destination: "http://192.168.3.27:8091/:path*",
+        destination: "http://xia0miduo.gicp.net:8091/:path*",
       },
       {
         source: "/deepseek-api/:path*",