mirror of
https://github.com/langgenius/dify.git
synced 2026-04-05 10:12:43 +08:00
13 lines
317 B
TypeScript
13 lines
317 B
TypeScript
import { createSerwistRoute } from '@serwist/turbopack'
|
|
import { env } from '@/env'
|
|
|
|
const basePath = env.NEXT_PUBLIC_BASE_PATH
|
|
|
|
export const { dynamic, dynamicParams, revalidate, generateStaticParams, GET } = createSerwistRoute({
|
|
swSrc: 'app/sw.ts',
|
|
nextConfig: {
|
|
basePath,
|
|
},
|
|
useNativeEsbuild: true,
|
|
})
|