We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11227e4 commit 528b31aCopy full SHA for 528b31a
next.config.ts
@@ -54,6 +54,9 @@ const nextConfig = {
54
trailingSlash: true,
55
serverExternalPackages: ['rehype-preset-minify'],
56
outputFileTracingExcludes,
57
+ images: {
58
+ contentDispositionType: 'inline', // "open image in new tab" instead of downloading
59
+ },
60
webpack: (config, options) => {
61
config.plugins.push(
62
codecovNextJSWebpackPlugin({
@@ -71,7 +74,7 @@ const nextConfig = {
71
74
DEVELOPER_DOCS_: process.env.NEXT_PUBLIC_DEVELOPER_DOCS,
72
75
},
73
76
redirects,
- rewrites: async () => [
77
+ rewrites: () => [
78
{
79
source: '/:path*.md',
80
destination: '/md-exports/:path*.md',
0 commit comments