Skip to content

Commit 3fe92d1

Browse files
Merge pull request #4 from jordanreger/main
use canonical name instead of hostname
2 parents bdbb633 + 63a68ba commit 3fe92d1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

bin/dev

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ fi
1010
if command -v docker &> /dev/null
1111
then
1212
echo "Running trmnl/trmnlp container..."
13-
docker run -p 4567:4567 -v .:/plugin trmnl/trmnlp
13+
docker run -p 4567:4567 -v .:/plugin --env-file=.env trmnl/trmnlp serve
1414
exit
1515
fi
1616

@@ -22,4 +22,4 @@ Or install Docker:
2222
2323
https://docs.docker.com/get-docker/"
2424

25-
exit 1
25+
exit 1

src/shared.liquid

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<div class="item">
3333
<div class="meta"></div>
3434
<div class="content gap--xsmall">
35-
<div class="label label--small label--underline">{{ device.hostname }}</div>
35+
<div class="label label--small label--underline">{{ device.name | split: "." | first }}</div>
3636
<div class="label label--small label--outline">{{ device.addresses.first }}</div>
3737
{% if time_diff <= 1800 %}
3838
<div class="label label--small">✓ Online{%- if device.updateAvailable %} • Update available!{% endif %}</div>

0 commit comments

Comments
 (0)