isarm simplification

This commit is contained in:
Andras Bacsai
2023-02-17 14:20:17 +01:00
parent 4ef824f665
commit 150b50e0ba
5 changed files with 26 additions and 25 deletions

View File

@@ -20,7 +20,7 @@ const root: FastifyPluginAsync = async (fastify): Promise<void> => {
whiteLabeled: process.env.COOLIFY_WHITE_LABELED === 'true',
whiteLabeledIcon: process.env.COOLIFY_WHITE_LABELED_ICON,
isRegistrationEnabled: settings.isRegistrationEnabled,
isARM: isARM(process.arch)
isARM: isARM()
};
} catch ({ status, message }) {
return errorHandler({ status, message });