Skip to content

Commit 5c73a54

Browse files
committed
Temp port 80
1 parent 38bc2e7 commit 5c73a54

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

example/server.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,5 @@ app.use(express.json());
3737
app.use(createMiddleware(...handlers));
3838
app.use('/ui', middleware);
3939

40-
const port = 9800;
40+
const port = process.env.PORT ?? 80;
4141
app.listen(port, () => logger.info(`MSW server running at http://localhost:${port}`));

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"lint": "tsdx lint",
2222
"server": "",
2323
"prepublish": "npm run lint && npm run test && npm run build",
24-
"deploy:example": "git subtree push --prefix example heroku main"
24+
"deploy:example": "git subtree split --prefix example -b example && git push -f heroku example:main && git branch -D example"
2525
},
2626
"module": "dist/msw-dynamic-http-middleware.esm.js",
2727
"keywords": [

0 commit comments

Comments
 (0)