diff --git a/src/server.tsx b/src/server.tsx index 5c4de10..62a7aa0 100644 --- a/src/server.tsx +++ b/src/server.tsx @@ -417,3 +417,8 @@ export default { port, fetch: app.fetch, } + +process.on('SIGINT', function() { + console.info("Caught interrupt signal. Exiting."); + process.exit(); +});