Builtin Prosody: optional settings to change the url for Prosody's API calls.

This commit is contained in:
John Livingston
2021-06-22 13:23:01 +02:00
parent a526feac19
commit 6608480826
5 changed files with 28 additions and 4 deletions

View File

@ -28,6 +28,8 @@ export async function diagProsody (test: string, options: RegisterServerOptions)
result.messages.push(`Prosody will run on port '${wantedConfig.port}'`)
prosodyPort = wantedConfig.port
result.messages.push(`Prosody will use ${wantedConfig.baseApiUrl} as base uri from api calls`)
result.messages.push(`Prosody modules path will be '${wantedConfig.paths.modules}'`)
await fs.promises.access(filePath, fs.constants.R_OK) // throw an error if file does not exist.