Files
anyclip-video-manager/client/detect-domain-locale.ts
2026-01-20 14:34:18 +08:00

10 lines
360 B
TypeScript

import type { detectDomainLocale as Fn } from '../shared/lib/i18n/detect-domain-locale'
export const detectDomainLocale: typeof Fn = (...args) => {
if (process.env.__NEXT_I18N_SUPPORT) {
return (
require('../shared/lib/i18n/detect-domain-locale') as typeof import('../shared/lib/i18n/detect-domain-locale')
).detectDomainLocale(...args)
}
}