From b2c2ff84fe91efb6edf4d2c821cb73c57a9d42d8 Mon Sep 17 00:00:00 2001 From: HorizonCode Date: Wed, 10 May 2023 14:25:17 +0200 Subject: [PATCH] fix example statusCode --- example/test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/test.ts b/example/test.ts index 424f5c5..0bb0449 100644 --- a/example/test.ts +++ b/example/test.ts @@ -3,7 +3,7 @@ import { HTTPServer } from "../http_server.ts"; const httpServer = new HTTPServer(); httpServer.add("GET", "/", (_req, rep) => { - rep.statusCode = 200; + rep.statusCode = Status.Teapot; rep.addHeader("working", "true") return JSON.stringify( {