diff --git a/apps/server/src/routes/api/system_info.ts b/apps/server/src/routes/api/system_info.ts index 4d49f4ca2..9720ecdf7 100644 --- a/apps/server/src/routes/api/system_info.ts +++ b/apps/server/src/routes/api/system_info.ts @@ -2,9 +2,9 @@ import { isRunningUnderRosetta2 } from "../../services/utils.js"; import type { Request, Response } from "express"; function rosettaCheck(req: Request, res: Response) { - res.json({ + return { isRunningUnderRosetta2: isRunningUnderRosetta2() - }); + } } export default {