Explorar el Código

Fix #83: Fix posts/ titles

George S. Baugh hace 5 años
padre
commit
fdd9f12299
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      www/server.psgi

+ 1 - 1
www/server.psgi

@@ -129,7 +129,7 @@ my $app = sub {
 
     $query->{user}   = $active_user;
     $query->{domain} = $env->{HTTP_HOST};
-    $query->{route}  = $path;
+    $query->{route}  = $env->{REQUEST_URI};
     $query->{scheme} = $env->{'psgi.url_scheme'} // 'http';
 
     my $output =  $routes{$path}{callback}->($query, \&_render);