Set the Content-Type properly
This commit is contained in:
@ -89,7 +89,7 @@ sub nixexprs : Chained('nix') PathPart('nixexprs.tar.bz2') Args(0) {
|
||||
sub binary_cache_url : Chained('nix') PathPart('binary-cache-url') Args(0) {
|
||||
my ($self, $c) = @_;
|
||||
$c->stash->{'plain'} = { data => $c->uri_for('/') };
|
||||
$c->header('Content-Type' => 'text/plain');
|
||||
$c->response->content_type('text/plain');
|
||||
$c->forward('Hydra::View::Plain');
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user