Support Mojolicious >= 9.0

Change-Id: Icf33b0060119d06d7eb1747abee8b59556d6d56c
diff --git a/Changes b/Changes
index e9d9c0c..fb378c4 100755
--- a/Changes
+++ b/Changes
@@ -1,4 +1,4 @@
-0.41 2021-02-09
+0.41 2021-02-15
         - Introduce CORS headers to the proxy.
         - Introduce Content Security Policy.
         - Remove default api endpoint from config to
@@ -24,6 +24,7 @@
         - Fix guided tour to work with CSP.
         - Fix strict-mode in tour.
         - Define resources in Makefile.
+        - Support Mojolicious >= 9.
 
 0.40 2020-12-17
         - Modernize ES and fix in-loops.
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
diff --git a/lib/Kalamar/Controller/Proxy.pm b/lib/Kalamar/Controller/Proxy.pm
index 65153c7..675a06a 100644
--- a/lib/Kalamar/Controller/Proxy.pm
+++ b/lib/Kalamar/Controller/Proxy.pm
@@ -6,7 +6,7 @@
   my $c = shift;
 
   my $apiv = $c->stash('apiv');
-  my $path = $c->stash('path') // '';
+  my $path = $c->stash('api_path') // '';
 
   # Get the original request
   my $req = $c->req;