From a850dbaafabe7d0ce18be9a98768176ac532f22c Mon Sep 17 00:00:00 2001 From: csatlos Date: Sat, 20 Feb 2021 00:51:43 -0500 Subject: [PATCH] Update Discord webhook URL filters. fixes #2 --- app/Model/Pathfinder/MapModel.php | 2 +- public/templates/dialog/map.html | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/Model/Pathfinder/MapModel.php b/app/Model/Pathfinder/MapModel.php index 93e37f4d..ace19bff 100644 --- a/app/Model/Pathfinder/MapModel.php +++ b/app/Model/Pathfinder/MapModel.php @@ -396,7 +396,7 @@ class MapModel extends AbstractMapTrackingModel { if( !empty($val) ){ $hosts = [ 'slack' => ['hooks.slack.com'], - 'discord' => ['discordapp.com', 'ptb.discordapp.com'] + 'discord' => ['discord.com', 'discordapp.com', 'ptb.discordapp.com'] ]; if( diff --git a/public/templates/dialog/map.html b/public/templates/dialog/map.html index 9fa60d32..108c3091 100644 --- a/public/templates/dialog/map.html +++ b/public/templates/dialog/map.html @@ -252,9 +252,9 @@
- + @@ -286,9 +286,9 @@