Skip to content

Commit

Permalink
docs: typo fixes
Browse files Browse the repository at this point in the history
Typo fixes
  • Loading branch information
Yaapa Hage committed Mar 20, 2020
1 parent 7cbb2da commit cad2d74
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/site/Req-res-cycle.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ by other APIs.
#### Controller endpoints

Controller methods decorated with operation decorators like `@get()`, `@post()`,
`@put` etc., create enpoints on the app for the corresponding HTTP verbs. The
`@put` etc., create endpoints on the app for the corresponding HTTP verbs. The
behavior of these endpoints are entirely dependent on the implementation of the
controller method.

Expand All @@ -41,7 +41,7 @@ The following APIs can create non-controller endpoints.
##### 1. app.static(path, rootDir, options)

This method maps to the underlying Express' [static](https://expressjs.com/en/4x/api.html#express.static)
method. It creates dynamic enpoints for files in the `rootDir` to be servered
method. It creates dynamic endpoints for files in the `rootDir` to be served
at `path`.

More details at [RestApplication.static()](https://loopback.io/doc/en/lb4/apidocs.rest.restapplication.static.html)
Expand All @@ -58,7 +58,7 @@ doc.
##### 3. app.mountExpressRouter(basePath, router, spec)

This method mounts an Express [router](https://expressjs.com/en/4x/api.html#router)
in the LoopBack app. You can use it for adding custom enpoints in your app using
in the LoopBack app. You can use it for adding custom endpoints in your app using
the Express middleware format.

More details at [RestApplication.mountExpressRouter()
Expand Down

0 comments on commit cad2d74

Please sign in to comment.