File tree Expand file tree Collapse file tree 4 files changed +26
-16
lines changed
Expand file tree Collapse file tree 4 files changed +26
-16
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,11 @@ public function handle(SpeedtestCompleted $event): void
4646 'speedtest_url ' => $ event ->result ->result_url ,
4747 'url ' => url ('/admin/results ' ),
4848 ])->render (),
49+ 'extras ' => [
50+ 'client::display ' => [
51+ 'contentType ' => 'text/markdown ' ,
52+ ],
53+ ],
4954 ];
5055
5156 foreach ($ notificationSettings ->gotify_webhooks as $ url ) {
Original file line number Diff line number Diff line change @@ -72,6 +72,11 @@ public function handle(SpeedtestCompleted $event): void
7272 'speedtest_url ' => $ event ->result ->result_url ,
7373 'url ' => url ('/admin/results ' ),
7474 ])->render (),
75+ 'extras ' => [
76+ 'client::display ' => [
77+ 'contentType ' => 'text/markdown ' ,
78+ ],
79+ ],
7580 ];
7681
7782 foreach ($ notificationSettings ->gotify_webhooks as $ url ) {
Original file line number Diff line number Diff line change 1- Speedtest Completed - #{{ $id } }
1+ ** Speedtest Completed - #{{ $id } }**
22
3- A new speedtest was completed using {{ $service } } .
3+ A new speedtest was completed using ** {{ $service } }** .
44
5- - Server name: {{ $serverName } }
6- - Server ID: {{ $serverId } }
7- - ISP: {{ $isp } }
8- - Ping: {{ $ping } }
9- - Download: {{ $download } }
10- - Upload: {{ $upload } }
11- - Packet Loss: {{ $packetLoss } } %
12- - Ookla Speedtest:{{ $speedtest_url } }
13- - URL: {{ $url } }
5+ - ** Server name:** {{ $serverName } }
6+ - ** Server ID:** {{ $serverId } }
7+ - ** ISP:** {{ $isp } }
8+ - ** Ping:** {{ $ping } }
9+ - ** Download:** {{ $download } }
10+ - ** Upload:** {{ $upload } }
11+ - ** Packet Loss:** {{ $packetLoss } } **%**
12+ - ** Ookla Speedtest:** [ {{ $speedtest_url } }]( {{ $speedtest_url } } )
13+ - ** URL:** [ {{ $url } }]( {{ $url } } )
Original file line number Diff line number Diff line change 1- Speedtest Threshold Breached - #{{ $id } }
1+ ** Speedtest Threshold Breached - #{{ $id } }**
22
3- A new speedtest was completed using {{ $service } } on {{ $isp } } but a threshold was breached.
3+ A new speedtest was completed using ** {{ $service } }** on ** {{ $isp } }** but a threshold was breached.
44
55@foreach ($metrics as $item )
6- - {{ $item [' name' ] } } {{ $item [' threshold' ] } } : {{ $item [' value' ] } }
6+ - {{ $item [' name' ] } } {{ $item [' threshold' ] } } : ** {{ $item [' value' ] } }**
77@endforeach
8- - Ookla Speedtest: {{ $speedtest_url } }
9- - URL: {{ $url } }
8+ - ** Ookla Speedtest:** [ {{ $speedtest_url } }]( {{ $speedtest_url } } )
9+ - ** URL:** [ {{ $url } }]( {{ $url } } )
You can’t perform that action at this time.
0 commit comments