add health check endpoint and update webserver routes
This commit is contained in:
@@ -26,7 +26,7 @@ export default async function webserver() {
|
||||
});
|
||||
|
||||
const IgnoredPaths = ['/favicon.ico', '/robots.txt', "/", "/hello"];
|
||||
const KnownPaths = ["/git-commit", "/"];
|
||||
const KnownPaths = ["/git-commit", "/", "/health"];
|
||||
|
||||
// log all incoming requests
|
||||
app.use((req, res, next) => {
|
||||
|
||||
Reference in New Issue
Block a user