Comparing version 0.10.1 to 0.10.2
@@ -365,3 +365,4 @@ 'use strict'; | ||
} | ||
const slicedUrl = url.slice(sofa.basePath.length); | ||
// trim base path and search | ||
const [slicedUrl] = url.slice(sofa.basePath.length).split('?'); | ||
const trouterMethod = method.toUpperCase(); | ||
@@ -368,0 +369,0 @@ const obj = router.find(trouterMethod, slicedUrl); |
@@ -359,3 +359,4 @@ import { __awaiter, __asyncValues, __rest } from 'tslib'; | ||
} | ||
const slicedUrl = url.slice(sofa.basePath.length); | ||
// trim base path and search | ||
const [slicedUrl] = url.slice(sofa.basePath.length).split('?'); | ||
const trouterMethod = method.toUpperCase(); | ||
@@ -362,0 +363,0 @@ const obj = router.find(trouterMethod, slicedUrl); |
{ | ||
"name": "sofa-api", | ||
"version": "0.10.1", | ||
"version": "0.10.2", | ||
"description": "Create REST APIs with GraphQL", | ||
@@ -5,0 +5,0 @@ "sideEffects": false, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
217989
2307