aboutsummaryrefslogtreecommitdiff
path: root/lib/MasterWebInterface/Handler/Json/Motd.pm
diff options
context:
space:
mode:
authorDarkelarious <darkelarious@333networks.com>2022-07-19 18:28:00 +0200
committerDarkelarious <darkelarious@333networks.com>2022-07-19 18:28:00 +0200
commite9b4cd5fc79ca2d044eba4fed8bf62b138f44249 (patch)
treef396b20f3f415989529484eaacf12314dc72e019 /lib/MasterWebInterface/Handler/Json/Motd.pm
parent30adff959ed724224d4a9e1d37b08705f5d62f53 (diff)
downloadWebInterface-Perl-e9b4cd5fc79ca2d044eba4fed8bf62b138f44249.tar.gz
WebInterface-Perl-e9b4cd5fc79ca2d044eba4fed8bf62b138f44249.zip
simplify address format
Diffstat (limited to 'lib/MasterWebInterface/Handler/Json/Motd.pm')
-rwxr-xr-xlib/MasterWebInterface/Handler/Json/Motd.pm2
1 files changed, 1 insertions, 1 deletions
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