mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-18 21:45:31 +09:00
refactor(api): collapse single-impl interfaces and facades (#3382)
This commit is contained in:
1 parent
e7b13fd19f
commit
c16d414d93
426 files changed
+2085
-6445
No files matched your search
@@ -2,7 +2,7 @@
|
||||
|
||||
import type {HonoEnv} from '@app/api/types/HonoEnv';
|
||||
import {Locales} from '@fluxer/constants/src/Locales';
|
||||
import {parseAcceptLanguage} from '@pkgs/locale/src/LocaleService';
|
||||
import {parseAcceptLanguage} from '@pkgs/locale/src/resolution/AcceptLanguageNegotiation';
|
||||
import {createMiddleware} from 'hono/factory';
|
||||
|
||||
export const LocaleMiddleware = createMiddleware<HonoEnv>(async (ctx, next) => {
|
||||
|
||||
Reference in new issue
Block a user