timeslots API

This commit is contained in:
Asya Vee
2025-08-26 23:36:24 +04:00
parent 47baf8dfe2
commit c0647fe512
47 changed files with 830 additions and 776 deletions

22
apps/web/middleware.ts Normal file
View File

@@ -0,0 +1,22 @@
import createMiddleware from 'next-intl/middleware';
export default createMiddleware({
// A list of all locales that are supported
locales: ['en', 'ka'],
// Used when no locale matches
defaultLocale: 'en',
// Always redirect to locale-prefixed paths
localePrefix: 'always'
});
export const config = {
// Match all pathnames except for
// - api routes
// - _next (Next.js internal)
// - _vercel (Vercel internal)
// - all files with extensions
matcher: ['/((?!api|_next|_vercel|.*\\..*).*)', '/'],
runtime: 'nodejs'
};