mirror of
https://github.com/langgenius/dify.git
synced 2026-05-02 15:17:39 +08:00
Signed-off-by: majiayu000 <1835304752@qq.com> Co-authored-by: Stephen Zhou <38493346+hyoban@users.noreply.github.com>
12 lines
303 B
TypeScript
12 lines
303 B
TypeScript
import { createSerwistRoute } from '@serwist/turbopack'
|
|
|
|
const basePath = process.env.NEXT_PUBLIC_BASE_PATH || ''
|
|
|
|
export const { dynamic, dynamicParams, revalidate, generateStaticParams, GET } = createSerwistRoute({
|
|
swSrc: 'app/sw.ts',
|
|
nextConfig: {
|
|
basePath,
|
|
},
|
|
useNativeEsbuild: true,
|
|
})
|