File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -37,5 +37,5 @@ app.use(express.json());
37
37
app . use ( createMiddleware ( ...handlers ) ) ;
38
38
app . use ( '/ui' , middleware ) ;
39
39
40
- const port = 9800 ;
40
+ const port = process . env . PORT ?? 80 ;
41
41
app . listen ( port , ( ) => logger . info ( `MSW server running at http://localhost:${ port } ` ) ) ;
Original file line number Diff line number Diff line change 21
21
"lint" : " tsdx lint" ,
22
22
"server" : " " ,
23
23
"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 "
25
25
},
26
26
"module" : " dist/msw-dynamic-http-middleware.esm.js" ,
27
27
"keywords" : [
You can’t perform that action at this time.
0 commit comments