test: add basePath and assetPrefix

pull/17608/head
keting lu 1 year ago
parent deb789ca78
commit 2feb2fd533

@ -14,8 +14,9 @@ const withMDX = require('@next/mdx')({
/** @type {import('next').NextConfig} */ /** @type {import('next').NextConfig} */
const nextConfig = { const nextConfig = {
// basePath: '/dify', basePath: '/dify',
// assetPrefix: '/dify', assetPrefix: '/dify',
trailingSlash: true,
webpack: (config, { dev, isServer }) => { webpack: (config, { dev, isServer }) => {
config.plugins.push(codeInspectorPlugin({ bundler: 'webpack' })) config.plugins.push(codeInspectorPlugin({ bundler: 'webpack' }))
return config return config

Loading…
Cancel
Save