Port configuration.

This commit is contained in:
John Livingston
2021-04-16 15:13:46 +02:00
parent fce0e7c63c
commit 295a55c9f6
2 changed files with 28 additions and 7 deletions

View File

@ -81,6 +81,17 @@ export function initSettings (options: RegisterServerOptions): void {
descriptionHTML: 'If checked, this will use a builtin XMPP server. This is the recommanded setup.'
})
registerSetting({
name: 'prosody-port',
label: 'Builtin prosody: Prosody port',
type: 'input',
default: '52800',
private: true,
descriptionHTML: 'The port that will be used by the builtin Prosody server.<br>' +
'Change it if this port is already in use on your server.<br>' +
'You can close this port on your firewall, it will not be accessed from the outer world.'
})
registerSetting({
name: 'chat-use-builtin',
label: 'Use builtin ConverseJS',