mirror of
https://github.com/Infisical/infisical.git
synced 2025-03-27 09:40:45 +00:00
add emailConfigured to status api
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
import express, { Request, Response } from 'express';
|
||||
import { SMTP_CONFIGURED } from '../../config';
|
||||
|
||||
const router = express.Router();
|
||||
|
||||
@ -8,6 +9,7 @@ router.get(
|
||||
res.status(200).json({
|
||||
date: new Date(),
|
||||
message: 'Ok',
|
||||
emailConfigured: SMTP_CONFIGURED
|
||||
})
|
||||
}
|
||||
);
|
||||
|
Reference in New Issue
Block a user