We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1dda415 commit 02142d9Copy full SHA for 02142d9
src/request.js
@@ -1,7 +1,6 @@
1
const ReadableStream = require('stream').Readable;
2
const accepts = require('accepts');
3
const typeis = require('type-is');
4
-const path = require('path')
5
6
/**
7
*
@@ -29,7 +28,7 @@ class Request extends ReadableStream {
29
28
}, {});
30
31
this.path = event.path || '';
32
- this.url = path.join(this.hostname, event.path);
+ this.url = event.path;
33
this.params = event.pathParameters;
34
35
if (!this.get('Content-Length') && 'body' in event && event.body !== null) {
0 commit comments