-
Notifications
You must be signed in to change notification settings - Fork 626
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add unstable_extraMiddleware option to runServer
Summary: This adds a new option to Metro's `runServer` API providing a convenient hook to mount custom [`connect`](https://www.npmjs.com/package/connect) middleware on Metro's HTTP server. This replaces the `server.enhanceMiddleware` Metro config option (deprecated in D46356577). This option is `unstable_` as we work through using this option in integrating projects. Changelog: **[Experimental]** Add `unstable_extraMiddleware` option to `runServer` API Reviewed By: motiz88 Differential Revision: D46359829 fbshipit-source-id: 58aafcf1f33aed24a5163f8f4277976bff3717f4
- Loading branch information
1 parent
22e85fd
commit d0d5543
Showing
3 changed files
with
10 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters