sub _inflate {
my ($self, $type, $path, $io) = @_;
- (my $cache_name = $io->name) =~ s/\/([^\/]+)$/\/.htcache.$1.json/;
+ (my $cache_name = $io->name) =~ s/[\\\/]([^\/\\]+)$/\/.htcache.$1.json/;
my $cache = io($cache_name);
my @config_files = $self->_config_files_for($path);
my $max_stat = max map $_->mtime, $io, @config_files;
my ($self, $env) = @_;
my @args = @{$env->{argv}};
my $r = use_module('Plack::Runner')->new(
- server => 'Starman',
+ server => 'Thrall',
app => $self->app->web->to_psgi_app
);
$r->parse_options(@args);
my ($self, $env) = @_;
my @args = @{$env->{argv}};
my $r = use_module('Plack::Runner')->new(
- server => 'Starman',
+ server => 'Thrall',
app => use_module('Plack::Middleware::SSI')->wrap(
$self->app->web->to_psgi_app
)