implemented sign-in policy

This commit is contained in:
2024-02-16 16:59:58 +01:00
parent e8ee913d14
commit 8992aa76bd
3 changed files with 33 additions and 16 deletions

View File

@@ -2,7 +2,7 @@ import {notFound} from 'next/navigation';
import {getRequestConfig} from 'next-intl/server';
// Can be imported from a shared config
const locales = ['en', 'hr'];
export const locales = ['en', 'hr'];
export default getRequestConfig(async ({locale}) => {
// Validate that the incoming `locale` parameter is valid