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} */
const nextConfig = {
// basePath: '/dify',
// assetPrefix: '/dify',
basePath: '/dify',
assetPrefix: '/dify',
trailingSlash: true,
webpack: (config, { dev, isServer }) => {
config.plugins.push(codeInspectorPlugin({ bundler: 'webpack' }))
return config

Loading…
Cancel
Save