diff --git a/lib/plugins/create/templates/hello-world/serverless.yml b/lib/plugins/create/templates/hello-world/serverless.yml index 7028b27e0..22f21292b 100644 --- a/lib/plugins/create/templates/hello-world/serverless.yml +++ b/lib/plugins/create/templates/hello-world/serverless.yml @@ -19,6 +19,6 @@ functions: # The `events` block defines how to trigger the handler.helloWorld code events: - http: - path: hello + path: hello-world method: get cors: true