aws-lambda-fastify
Advanced tools
Comparing version 1.4.3 to 1.4.4
@@ -10,3 +10,3 @@ module.exports = (app, options) => (event, context, callback) => { | ||
const method = event.httpMethod || (event.requestContext && event.requestContext.http ? event.requestContext.http.method : undefined) | ||
let url = event.path || event.rawPath // seen rawPath for HTTP-API | ||
let url = event.path || event.rawPath || '/' // seen rawPath for HTTP-API | ||
// NOTE: if used directly via API Gateway domain and /stage | ||
@@ -13,0 +13,0 @@ if (event.requestContext && event.requestContext.stage && event.requestContext.resourcePath && |
@@ -34,3 +34,3 @@ { | ||
], | ||
"version": "1.4.3", | ||
"version": "1.4.4", | ||
"main": "index.js", | ||
@@ -46,3 +46,3 @@ "scripts": { | ||
"benchmark": "^2.1.4", | ||
"eslint": "^6.8.0", | ||
"eslint": "^7.3.1", | ||
"eslint-config-standard": "^14.1.1", | ||
@@ -53,3 +53,3 @@ "eslint-plugin-import": "^2.20.1", | ||
"eslint-plugin-standard": "^4.0.1", | ||
"fastify": "^3.0.0-rc.1", | ||
"fastify": "^3.0.0-rc.4", | ||
"serverless-http": "^2.3.2", | ||
@@ -56,0 +56,0 @@ "tap": "^14.10.7" |
10898