Skip to content

Commit 13dc1c3

Browse files
committed
disabled the alert
1 parent 4de125c commit 13dc1c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server-source/routes/get-meals.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ router.get("/", function (req, res, next) {
2525

2626
const hostname = process.env.HOSTNAME // hostname where the app is deployed
2727
// send email alerts only when the server is deployed on one of these hosts
28-
const alertableHostnames = ['heroku'];
28+
const alertableHostnames = ['no_such_hostname'];
2929

3030
// if the current host belongs to alertable hosts and if the current client has been added to the list of new clients
3131
if (alertableHostnames.includes(hostname) && isNewClient) {

0 commit comments

Comments
 (0)