commit | 03c3c9d13351dc13155ec28940f470e95cf50fd6 | [log] [tgz] |
---|---|---|
author | Akron <nils@diewald-online.de> | Mon Feb 15 07:41:27 2021 +0100 |
committer | Akron <nils@diewald-online.de> | Mon Feb 15 07:41:27 2021 +0100 |
tree | 957932fd584939fbf7842c7a8fb830aa30e95ee4 | |
parent | 87468c2ff54fc1712ced4c7ec6016985b7c98469 [diff] [blame] |
Support Mojolicious >= 9.0 Change-Id: Icf33b0060119d06d7eb1747abee8b59556d6d56c
diff --git a/lib/Kalamar.pm b/lib/Kalamar.pm index e7be952..42fa51c 100644 --- a/lib/Kalamar.pm +++ b/lib/Kalamar.pm
@@ -324,7 +324,7 @@ # API proxy route $r->any('/api/v#apiv' => [apiv => ['1.0']])->name('proxy')->to('Proxy#pass'); - $r->any('/api/v#apiv/*path' => [apiv => ['1.0']])->to('Proxy#pass'); + $r->any('/api/v#apiv/*api_path' => [apiv => ['1.0']])->to('Proxy#pass'); # Match route # Corpus route