Moving setting prosody-peertube-uri in advanced settings.

This commit is contained in:
John Livingston 2021-07-14 19:22:25 +02:00
parent b6269d7ca3
commit e50cfa6a8b
No known key found for this signature in database
GPG Key ID: B17B5640CE66CDBC

View File

@ -110,18 +110,6 @@ 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.` You can close this port on your firewall, it will not be accessed from the outer world.`
}) })
registerSetting({
name: 'prosody-peertube-uri',
label: 'Peertube url for API calls',
type: 'input',
default: '',
private: true,
descriptionHTML:
`Please let this settings empty if you don't know what you are doing.<br>
In some rare case, Prosody can't call Peertube's API from its public URI.
You can use this field to customise Peertube's URI for Prosody modules (for example with «http://localhost:9000»).`
})
registerSetting({ registerSetting({
name: 'chat-server', name: 'chat-server',
label: 'XMPP service server', label: 'XMPP service server',
@ -284,6 +272,18 @@ Example: height:400px;`,
descriptionHTML: '<h3>Prosody advanced settings</h3>' descriptionHTML: '<h3>Prosody advanced settings</h3>'
}) })
registerSetting({
name: 'prosody-peertube-uri',
label: 'Peertube url for API calls',
type: 'input',
default: '',
private: true,
descriptionHTML:
`Please let this settings empty if you don't know what you are doing.<br>
In some rare case, Prosody can't call Peertube's API from its public URI.
You can use this field to customise Peertube's URI for Prosody modules (for example with «http://localhost:9000»).`
})
registerSetting({ registerSetting({
name: 'prosody-c2s', name: 'prosody-c2s',
label: 'Enable client to server connections', label: 'Enable client to server connections',