mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
docs: updated webapp readme
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user