@kaito-http/core 2.3.0 → 2.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -371,6 +371,8 @@ class Router {
371
371
  var _this = this;
372
372
 
373
373
  var instance = fmw__default["default"]({
374
+ ignoreTrailingSlash: true,
375
+
374
376
  defaultRoute(req, serverResponse) {
375
377
  var _req$url;
376
378
 
@@ -371,6 +371,8 @@ class Router {
371
371
  var _this = this;
372
372
 
373
373
  var instance = fmw__default["default"]({
374
+ ignoreTrailingSlash: true,
375
+
374
376
  defaultRoute(req, serverResponse) {
375
377
  var _req$url;
376
378
 
@@ -343,6 +343,8 @@ class Router {
343
343
  var _this = this;
344
344
 
345
345
  var instance = fmw({
346
+ ignoreTrailingSlash: true,
347
+
346
348
  defaultRoute(req, serverResponse) {
347
349
  var _req$url;
348
350
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kaito-http/core",
3
- "version": "2.3.0",
3
+ "version": "2.3.1",
4
4
  "description": "Functional HTTP Framework for TypeScript",
5
5
  "repository": "https://github.com/kaito-http/kaito",
6
6
  "author": "Alistair Smith <hi@alistair.sh>",