From e9b4cd5fc79ca2d044eba4fed8bf62b138f44249 Mon Sep 17 00:00:00 2001 From: Darkelarious Date: Tue, 19 Jul 2022 18:28:00 +0200 Subject: simplify address format --- lib/MasterWebInterface/Handler/Json/Motd.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/MasterWebInterface/Handler/Json/Motd.pm') diff --git a/lib/MasterWebInterface/Handler/Json/Motd.pm b/lib/MasterWebInterface/Handler/Json/Motd.pm index c473f12..869ae5f 100755 --- a/lib/MasterWebInterface/Handler/Json/Motd.pm +++ b/lib/MasterWebInterface/Handler/Json/Motd.pm @@ -8,7 +8,7 @@ use Exporter 'import'; our @EXPORT = qw| motd_static |; TUWF::register( - qr{json/(.[\w]{1,20})/motd} => \&json_motd, + qr{json/([\w]{1,20})/motd} => \&json_motd, ); # Message of the Day for things like the JSON API or updateserver page -- cgit v1.2.3