[conf] Add "websocket_port" to config file

This commit is contained in:
chme 2017-09-15 07:04:18 +02:00
parent f1e706ee8f
commit 42b644020d
2 changed files with 3 additions and 0 deletions

View File

@ -24,6 +24,8 @@ general {
# Admin password for the web interface
# If not set (default), access to the web interface is only permitted from localhost
# admin_password = ""
# Websocket port for the web interface.
# websocket_port = 3688
# Enable/disable IPv6
ipv6 = yes

View File

@ -46,6 +46,7 @@ static cfg_opt_t sec_general[] =
{
CFG_STR("uid", "nobody", CFGF_NONE),
CFG_STR("admin_password", NULL, CFGF_NONE),
CFG_INT("websocket_port", 3688, CFGF_NONE),
CFG_STR("logfile", STATEDIR "/log/" PACKAGE ".log", CFGF_NONE),
CFG_STR("db_path", STATEDIR "/cache/" PACKAGE "/songs3.db", CFGF_NONE),
CFG_INT("db_pragma_cache_size", -1, CFGF_NONE),