Change openapi doc port from 3000 to 4000 to avoid clashing with adguardhome.
This commit is contained in:
parent
fb24447915
commit
390883126c
|
@ -10,4 +10,4 @@ The easiest way would be to use [Swagger Editor](http://editor.swagger.io/) and
|
||||||
|
|
||||||
1. `yarn install`
|
1. `yarn install`
|
||||||
2. `yarn start`
|
2. `yarn start`
|
||||||
3. Open `http://localhost:3000/`
|
3. Open `http://localhost:4000/`
|
||||||
|
|
|
@ -4,5 +4,5 @@ const app = express()
|
||||||
|
|
||||||
app.use(express.static(__dirname))
|
app.use(express.static(__dirname))
|
||||||
|
|
||||||
console.log('Open http://localhost:3000/ to examine the API spec')
|
console.log('Open http://localhost:4000/ to examine the API spec')
|
||||||
app.listen(3000)
|
app.listen(4000)
|
||||||
|
|
Loading…
Reference in New Issue