fix wrong SRV record name -> _minecraft._tcp.

This commit is contained in:
Nick Krecklow 2020-05-13 16:40:12 -05:00
parent 1de2c7a053
commit 005798aa0d
No known key found for this signature in database
GPG Key ID: 5F149FDE156FFA94

View File

@ -339,7 +339,7 @@ class ServerRegistration {
if (!this._isUnfurlingSrv) {
this._isUnfurlingSrv = true
dns.resolveSrv('_minecraft._tcp' + this.data.ip, (_, records) => {
dns.resolveSrv('_minecraft._tcp.' + this.data.ip, (_, records) => {
this._lastUnfurlSrv = {
timestamp
}