mirror of
https://github.com/mjl-/mox.git
synced 2025-07-19 03:26:37 +03:00
web interfaces: don't include version number in html, only return it after authentication
second round for issue #322
This commit is contained in:
@ -1457,6 +1457,15 @@ export class Client {
|
||||
return await _sherpaCall(this.baseURL, this.authState, { ...this.options }, paramTypes, returnTypes, fn, params) as void
|
||||
}
|
||||
|
||||
// Version returns the version, goos and goarch.
|
||||
async Version(): Promise<[string, string, string]> {
|
||||
const fn: string = "Version"
|
||||
const paramTypes: string[][] = []
|
||||
const returnTypes: string[][] = [["string"],["string"],["string"]]
|
||||
const params: any[] = []
|
||||
return await _sherpaCall(this.baseURL, this.authState, { ...this.options }, paramTypes, returnTypes, fn, params) as [string, string, string]
|
||||
}
|
||||
|
||||
// CheckDomain checks the configuration for the domain, such as MX, SMTP STARTTLS,
|
||||
// SPF, DKIM, DMARC, TLSRPT, MTASTS, autoconfig, autodiscover.
|
||||
async CheckDomain(domainName: string): Promise<CheckResult> {
|
||||
|
Reference in New Issue
Block a user