fix small mistake in regx
parent
042a735442
commit
53f5efeb5e
|
@ -79,7 +79,7 @@ FEED: foreach my $feed (@feeds){
|
||||||
|
|
||||||
my %data;
|
my %data;
|
||||||
if (length($status) > 500){
|
if (length($status) > 500){
|
||||||
$status =~ s/^(.{497}).*$/\1.../g;
|
$status =~ s/^(.{497}).*$/$1.../g;
|
||||||
}
|
}
|
||||||
$data{status} = $status;
|
$data{status} = $status;
|
||||||
$ENV{status} = encode_json({%data});
|
$ENV{status} = encode_json({%data});
|
||||||
|
|
Loading…
Reference in New Issue