- my ($self, $format, $logger, $theme) = @_;
- debug $logger => "theme is $theme";
+ my ($self, $format, $env, $theme) = @_;
+ debug $env => "theme is $theme";
+ return [404, ['Content-Type' => 'text/plain'], [ 'Not found' ]] unless -e "css/themes/$theme.css";