diff --git a/lib/ServerlessFunction.js b/lib/ServerlessFunction.js
index <HASH>..<HASH> 100644
--- a/lib/ServerlessFunction.js
+++ b/lib/ServerlessFunction.js
@@ -140,7 +140,7 @@ class ServerlessFunction {
           component:      _this._config.component,
           module:         _this._config.module,
           function:       functionJson.name,
-          endpointPath:   _this._config.module + '/' + functionJson.name,
+          endpointPath:   e.path,
           endpointMethod: e.method
         });
Serverless: Fix issue #<I> - Changing endpoints breaks project