docs: updated webapp readme

This commit is contained in:
Gabriel Grubba
2023-01-13 16:32:46 -03:00
parent 929da0d8a3
commit f2f2c4e414

View File

@@ -13,8 +13,8 @@ page](https://github.com/meteor/meteor/tree/master/packages/webapp).
## Direct access to connect mongodb API
The `webapp` package is implemented using the
[npm `connect` module](https://www.npmjs.com/package/connect). `webapp` exposes
the connect API for handling requests through `Webapp.connectHandlers`. See
[`express`](https://expressjs.com/). `webapp` exposes
the connect API for handling requests through `Webapp.expressHandlers`. See
https://docs.meteor.com/#/full/webapp for more details
If you'd like direct access to the connect module (for example, to use one of
@@ -22,6 +22,6 @@ the middleware handlers that it defines), you can find it at
`WebAppInternals.NpmModules.connect.module`. Its version can be read at
`WebAppInternals.NpmModules.connect.version`.
The version of `connect` used may change incompatibly from version to version of
The version of `express` used may change incompatibly from version to version of
Meteor (or we may even replace it with an entirely different implementation);
use at your own risk.