mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-11-22 04:55:33 +03:00
Change openapi doc port from 3000 to 4000 to avoid clashing with adguardhome.
This commit is contained in:
parent
fb24447915
commit
390883126c
3 changed files with 4 additions and 4 deletions
|
@ -10,4 +10,4 @@ The easiest way would be to use [Swagger Editor](http://editor.swagger.io/) and
|
|||
|
||||
1. `yarn install`
|
||||
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))
|
||||
|
||||
console.log('Open http://localhost:3000/ to examine the API spec')
|
||||
app.listen(3000)
|
||||
console.log('Open http://localhost:4000/ to examine the API spec')
|
||||
app.listen(4000)
|
||||
|
|
|
@ -9,4 +9,4 @@
|
|||
"express": "^4.16.4",
|
||||
"swagger-ui-dist": "^3.20.1"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue