minimalistic-server 0.0.9 → 0.0.11
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.
- package/index.mjs +2 -2
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -792,7 +792,7 @@ export class Request {
|
|
|
792
792
|
}
|
|
793
793
|
|
|
794
794
|
getRawUrl() {
|
|
795
|
-
this.#request.url;
|
|
795
|
+
return this.#request.url;
|
|
796
796
|
}
|
|
797
797
|
|
|
798
798
|
getRawBody() {
|
|
@@ -1639,7 +1639,7 @@ function normalizeRoutes(routes, handleServerError) {
|
|
|
1639
1639
|
}
|
|
1640
1640
|
|
|
1641
1641
|
safePrint(error);
|
|
1642
|
-
return wrapInResponseClass(await
|
|
1642
|
+
return wrapInResponseClass(await handleServerError(request, error));
|
|
1643
1643
|
}
|
|
1644
1644
|
};
|
|
1645
1645
|
}
|