From 111f639339d905531725e48dec25acc9c37e4ea6 Mon Sep 17 00:00:00 2001 From: Wessel T Date: Wed, 16 Jan 2019 17:21:24 +0100 Subject: [PATCH] Anotha typo --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1af33e3..8f502ce 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ $ npm i kirbe # Install w/ NPM const kirbe = require( 'kirbe' ); // Define kirbe const app = new kirbe(); // Make your kirbe client -app.route( '/bear', 'GET' ( req, res ) => res.status( 200 ).body({ 'bear': 'cop' }) ); +app.route( '/bear', 'GET', ( req, res ) => res.status( 200 ).body({ 'bear': 'cop' }) ); app.route( ( req, res ) => res.status( 404 ).body( 'Error: Content not found!' ).end() ); app.get( '/kirb', ( req, res ) => { res.writeHead( 201, { 'test': 'hi' }); @@ -52,4 +52,4 @@ app.use( kirbe.static( path.join( __dirname, 'static' ) ) ); ### Why use kirbe? Kirbe is a lightweight and fast HTTP server library, especially comparing to express which is around 1mb. If you want any featuers that aren't inside of Kirbe yet, you can open an issue or pull request. -You can join [https://discord.gg/SV7DAE9](https://discord.gg/SV7DAE9) if you need any support using kirbe! \ No newline at end of file +You can join [https://discord.gg/SV7DAE9](https://discord.gg/SV7DAE9) if you need any support using kirbe!