fix(server): selfhost issues (#5623)

- env name in helm chart
- omit health check controller in selfhost env
This commit is contained in:
LongYinan
2024-01-18 05:55:54 +00:00
parent 9fdbb3ac3d
commit c5ea6fd2c3
3 changed files with 10 additions and 2 deletions
+2 -1
View File
@@ -33,6 +33,7 @@ export const FunctionalityModules: Array<Type | DynamicModule> = [
},
],
imports: [...FunctionalityModules, ...BusinessModules],
controllers: [AppController],
controllers:
process.env.SERVER_FLAVOR === 'selfhosted' ? [] : [AppController],
})
export class AppModule {}