|
@@ -25,7 +25,7 @@ get qr|^/st/([^\?]*)(.*)$| => sub {
|
25
|
25
|
&helper::dmup (real_params => $params);
|
26
|
26
|
|
27
|
27
|
my ($stpath, $query) = splat;
|
28
|
|
- my $format = params->{__format} // 'plain';
|
|
28
|
+ my $format = $params->{__format} // 'plain';
|
29
|
29
|
header('Content-Type' => (
|
30
|
30
|
$format eq 'html' ? 'text/html' : 'text/plain'
|
31
|
31
|
));
|