Change openapi doc port from 3000 to 4000 to avoid clashing with adguardhome.

This commit is contained in:
Eugene Bujak 2018-12-12 17:25:42 +03:00
parent fb24447915
commit 390883126c
3 changed files with 4 additions and 4 deletions

View File

@ -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/`

View File

@ -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)

View File

@ -9,4 +9,4 @@
"express": "^4.16.4", "express": "^4.16.4",
"swagger-ui-dist": "^3.20.1" "swagger-ui-dist": "^3.20.1"
} }
} }