Skip to content

Commit

Permalink
修复 cf-srv.py
Browse files Browse the repository at this point in the history
  • Loading branch information
MasterOfStar authored Jun 17, 2024
1 parent 67ca276 commit 143887d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions natter-docker/minecraft/cf-srv.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def _create_srv_record(self, zone_id, name, service, protocol, port, target,
"target": target,
"weight": weight
},
"name": name,
"name": f"{service}{protocol}.{name}",
"proxied": False,
"type": "SRV",
"ttl": ttl
Expand All @@ -168,7 +168,7 @@ def _update_srv_record(self, zone_id, rec_id, name, service, protocol, port, tar
"target": target,
"weight": weight
},
"name": name,
"name": f"{service}{protocol}.{name}",
"proxied": False,
"type": "SRV",
"ttl": ttl
Expand Down

0 comments on commit 143887d

Please sign in to comment.