Adding debug information in the diagnostic screen.

This commit is contained in:
John Livingston
2021-08-04 17:15:58 +02:00
parent ddaf57b5d5
commit b2b489af6e
2 changed files with 2 additions and 1 deletions

View File

@ -8,6 +8,7 @@ export async function diagUri (test: string, { settingsManager }: RegisterServer
])
if (/^https:\/\//.test(settings['chat-uri'] as string)) {
result.ok = true
result.messages.push('Chat url will be: ' + (settings['chat-uri'] as string))
} else {
result.messages.push('Incorrect value for the uri (it does not start with https://)')
}