From a90fbac143695c966013c2ed2f68960b24d1ec82 Mon Sep 17 00:00:00 2001 From: keting lu Date: Fri, 7 Mar 2025 18:13:19 +0800 Subject: [PATCH] Add next.config.js --- web/next.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/web/next.config.js b/web/next.config.js index 7785b80676..6ec5f82083 100644 --- a/web/next.config.js +++ b/web/next.config.js @@ -14,6 +14,7 @@ const withMDX = require('@next/mdx')({ /** @type {import('next').NextConfig} */ const nextConfig = { + basePath: '/dify', webpack: (config, { dev, isServer }) => { config.plugins.push(codeInspectorPlugin({ bundler: 'webpack' })) return config