mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-11 03:46:52 +08:00
feat: add i18n checker (ui) (#17283)
This commit is contained in:
9
web/app/dev-only/layout.tsx
Normal file
9
web/app/dev-only/layout.tsx
Normal file
@@ -0,0 +1,9 @@
|
||||
import type React from 'react'
|
||||
import { notFound } from 'next/navigation'
|
||||
|
||||
export default async function Layout({ children }: React.PropsWithChildren) {
|
||||
if (process.env.NODE_ENV !== 'development')
|
||||
notFound()
|
||||
|
||||
return children
|
||||
}
|
||||
Reference in New Issue
Block a user