Skip to content

Commit

Permalink
Merge pull request #1000 from chardos/handle-star-routes
Browse files Browse the repository at this point in the history
fix: Handle star routes
  • Loading branch information
chardos committed Jun 2, 2020
2 parents c31c41f + da8bbd7 commit 6835a07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/generateHapiPath.js
@@ -1,4 +1,4 @@
export default function generateHapiPath(path, options, serverless) {
export default function generateHapiPath(path = '', options, serverless) {
// path must start with '/'
let hapiPath = path.startsWith('/') ? path : `/${path}`

Expand Down

0 comments on commit 6835a07

Please sign in to comment.