aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2015-08-28 18:28:36 +0100
committerMatthew Somerville <matthew@mysociety.org>2015-08-28 18:29:39 +0100
commit8ef9368785c1950ae0aea8c13584288d395662d6 (patch)
tree71d74cac974fbe25efea3ba271c480e73ddfaf3c
parentb950bb557f2b7fbf942e2a5f07cf426ad885ca5b (diff)
Add standard app.psgi file.
This enables easier integration with Plack/PSGI web servers.
-rw-r--r--app.psgi8
1 files changed, 8 insertions, 0 deletions
diff --git a/app.psgi b/app.psgi
new file mode 100644
index 000000000..fcc672647
--- /dev/null
+++ b/app.psgi
@@ -0,0 +1,8 @@
+use strict;
+use warnings;
+
+use FixMyStreet::App;
+
+my $app = FixMyStreet::App->apply_default_middlewares(FixMyStreet::App->psgi_app);
+$app;
+