We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 38bc2e7 commit 5c73a54Copy full SHA for 5c73a54
example/server.js
@@ -37,5 +37,5 @@ app.use(express.json());
37
app.use(createMiddleware(...handlers));
38
app.use('/ui', middleware);
39
40
-const port = 9800;
+const port = process.env.PORT ?? 80;
41
app.listen(port, () => logger.info(`MSW server running at http://localhost:${port}`));
package.json
@@ -21,7 +21,7 @@
21
"lint": "tsdx lint",
22
"server": "",
23
"prepublish": "npm run lint && npm run test && npm run build",
24
- "deploy:example": "git subtree push --prefix example heroku main"
+ "deploy:example": "git subtree split --prefix example -b example && git push -f heroku example:main && git branch -D example"
25
},
26
"module": "dist/msw-dynamic-http-middleware.esm.js",
27
"keywords": [
0 commit comments