Update gitalist_app.psgi with working copy.
Dan Brook [Mon, 1 Apr 2013 21:44:36 +0000 (23:44 +0200)]
As t0m added and I've now put into place.

gitalist.psgi [deleted file]
script/gitalist_app.psgi

diff --git a/gitalist.psgi b/gitalist.psgi
deleted file mode 100644 (file)
index 3829bdb..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-use strict;
-use warnings;
-
-use Gitalist;
-
-my $app = Gitalist->apply_default_middlewares(Gitalist->psgi_app);
-$app;
-
index 4a846e4..84cf049 100644 (file)
@@ -11,9 +11,6 @@ BEGIN {
 }
 
 use Gitalist;
-use Plack::Builder;
 
-Gitalist->setup_engine('PSGI');
-my $app = sub { Gitalist->run(@_) };
-
-builder { $app };
+my $app = Gitalist->apply_default_middlewares(Gitalist->psgi_app);
+$app;