An Express middleware that keeps your Glitch project alive.
Inspired by koa-glitch-keepalive.
npm i --save express express-glitch-keepalive
const express = ;const keepalive = ;const app = ;app;app;
Keepalive can be configured in a number of ways:
- The request path to use defaults to
/_keepalivebut can be changed with the environment variable
- The delay between keepalive requests defaults to 3 minutes but can be changed with the environment variable