decentralized-identity / decentralized-identity/veramo

Setting the port from the cli is not reflected in console output and swagger /api-docs

Open
#962 2 comments 1 reaction 0 assignees View on GitHub
bug CLI pinned planned-feature triage
Dominant language
TypeScript
Stars
543
Forks
137
Avg merge
12m
Merged PRs (30d)
2

Description

**Bug severity**
1

**Describe the bug**
When using the command `veramo server -p 8080` the port number is not reflected in the swagger /api-docs endpoint nor in the console.

**To Reproduce**
Steps to reproduce the behaviour:
1. `veramo server -p 8080` (Must be a port number different from the one in your agent.yml)

**Observed behaviour**
Incorrect port number in the generated docs.

**Expected behaviour**
The correct port number.

**Details**
![Screenshot 2022-07-08 at 13 04 45](https://user-images.githubusercontent.com/21693578/177980648-6c4e4da8-169d-47e9-9380-2115a1084983.png)

![Screenshot 2022-07-08 at 13 06 27](https://user-images.githubusercontent.com/21693578/177980754-f1d33dfe-c804-4f5f-9444-af5a6b210107.png)

**Versions (please complete the following information):**
- Veramo: 3.1.5
- Node Version v18.0.0

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.