Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 16 lines (12 sloc) 419 Bytes
use Dancer ':syntax';
use FindBin '$RealBin';
use Plack::Runner;
# For some reason Apache SetEnv directives dont propagate
# correctly to the dispatchers, so forcing PSGI and env here
# is safer.
set apphandler => 'PSGI';
set environment => 'production';
my $psgi = path($RealBin, '..', 'bin', '');
die "Unable to read startup script: $psgi" unless -r $psgi;