enable SSI
[scpubgit/App-SCS.git] / lib / App / SCS / Plugin / Server.pm
index 5759c5f..bb87f75 100644 (file)
@@ -31,7 +31,9 @@ sub run_command_server {
   my @args = @{$env->{argv}};
   my $r = use_module('Plack::Runner')->new(
     server => 'Starman',
-    app => $self->app->web->to_psgi_app
+    app => use_module('Plack::Middleware::SSI')->wrap(
+      $self->app->web->to_psgi_app
+    )
   );
   $r->parse_options(@args);
   $r->set_options(argv => \@args);