@solidxai/solidctl 0.1.4 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solidxai/solidctl",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "private": false,
@@ -30,6 +30,12 @@ async function bootstrap() {
30
30
  const appModule = await AppModule.forRoot();
31
31
  const app = await NestFactory.create(appModule);
32
32
 
33
+ // Add a simple health check endpoint at the root path
34
+ const server = app.getHttpAdapter().getInstance();
35
+ server.get("/", (_req, res) => {
36
+ res.status(200).send("SOLID OK");
37
+ });
38
+
33
39
  // Enable Helmet middleware for security
34
40
  app.use(helmet(buildDefaultSecurityHeaderOptions()));
35
41