From acdc509630d5182f9f3d224b259e2a46000b1f27 Mon Sep 17 00:00:00 2001 From: hailey Date: Tue, 2 Sep 2025 13:36:20 -0700 Subject: safelink (#8917) Co-authored-by: hailey Co-authored-by: Stanislas Signoud Co-authored-by: will berry Co-authored-by: BlueSkiesAndGreenPastures Co-authored-by: Chenyu Huang --- bskylink/src/index.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bskylink/src/index.ts') diff --git a/bskylink/src/index.ts b/bskylink/src/index.ts index 5e7f5444a..c7d52681d 100644 --- a/bskylink/src/index.ts +++ b/bskylink/src/index.ts @@ -7,6 +7,7 @@ import {createHttpTerminator, type HttpTerminator} from 'http-terminator' import {type Config} from './config.js' import {AppContext} from './context.js' +import i18n from './i18n.js' import {default as routes, errorHandler} from './routes/index.js' export * from './config.js' @@ -25,6 +26,7 @@ export class LinkService { static async create(cfg: Config): Promise { let app = express() app.use(cors()) + app.use(i18n.init) const ctx = await AppContext.fromConfig(cfg) app = routes(ctx, app) -- cgit 1.4.1