Skip to content
This repository has been archived by the owner on May 30, 2023. It is now read-only.

Allow port number to be configured via param, config file #62

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

martindale
Copy link

This adds the ability to configure the HTTP port via -port as well as in a config file via the port option.

@@ -47,6 +49,7 @@ const RoomMembersPageSize = 20
type configVars struct {
ConfigFile string
NumWorkers int
PortNumber int
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this seems entirely unused

@t3chguy
Copy link
Member

t3chguy commented Jul 9, 2018

so yeah would be better to consolidate the Config struct and refer to the same struct from both

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants