PronounsPage/server/api/locales.get.ts
Valentyne Stigloher 10180aa6a3 (refactor) use #shared alias instead of ~~/shared
the #shared alias used by Nuxt cannot be easily disabled and to prevent breackage with jiti, we make use of it
2025-08-17 18:56:02 +02:00

7 lines
203 B
TypeScript

import buildLocaleList from '#shared/buildLocaleList.ts';
import { getLocale } from '~~/server/data.ts';
export default defineEventHandler((event) => {
return buildLocaleList(getLocale(event));
});