Skip to content

Commit

Permalink
Added extra properties to zeroconf service info
Browse files Browse the repository at this point in the history
  • Loading branch information
Joel Collins committed Mar 21, 2020
1 parent 6f345e4 commit 5f33b9c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion labthings/server/wsgi/gevent.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,11 @@ def run(
"_labthings._tcp.local.",
f"{self.labthing.title}._labthings._tcp.local.",
port=port,
properties={"path": self.labthing.url_prefix},
properties={
"path": self.labthing.url_prefix,
"title": self.labthing.title,
"description": self.labthing.description,
},
addresses=set(
[
socket.inet_aton(i)
Expand Down

0 comments on commit 5f33b9c

Please sign in to comment.