Skip to content

Commit

Permalink
Merge pull request #327 from n0th1ng-else/favicon
Browse files Browse the repository at this point in the history
  • Loading branch information
n0th1ng-else authored Jun 17, 2023
2 parents 5259ff0 + 9d67eb8 commit 9721454
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/server/express.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ export class ExpressServer {
this.app.get("/health", (_req, res: express.Response<HealthDto>) => {
statusHandler(this.stat, res);
});
this.app.get("/favicon.ico", (_req, res: express.Response<string>) => {
res.status(204).send("");
});
this.app.get("/", (_req, res: express.Response<string>) => {
logger.info("Received app root request");
res.status(200).send("The app is running");
Expand Down

0 comments on commit 9721454

Please sign in to comment.