mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-27 02:06:52 +00:00
commit
aebd65c6a3
2 changed files with 2 additions and 1 deletions
|
@ -20,7 +20,7 @@ class StatusLabelService
|
||||||
|
|
||||||
return Cache::remember(self::CACHE_KEY . $status->id, now()->addDays(7), function() use($status) {
|
return Cache::remember(self::CACHE_KEY . $status->id, now()->addDays(7), function() use($status) {
|
||||||
return [
|
return [
|
||||||
'covid' => Str::of(strtolower($status->caption))->contains(['covid','corona', 'coronavirus', 'vaccine', 'vaxx', 'vaccination'])
|
'covid' => Str::of(strtolower($status->caption))->contains(['covid','corona', 'coronavirus', 'vaccine', 'vaxx', 'vaccination', 'plandemic'])
|
||||||
];
|
];
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -41,6 +41,7 @@
|
||||||
"sweetalert": "^2.1.2",
|
"sweetalert": "^2.1.2",
|
||||||
"tributejs": "^4.1.3",
|
"tributejs": "^4.1.3",
|
||||||
"twitter-text": "^2.0.5",
|
"twitter-text": "^2.0.5",
|
||||||
|
"vue-blurhash": "^0.1.4",
|
||||||
"vue-carousel": "^0.18.0",
|
"vue-carousel": "^0.18.0",
|
||||||
"vue-content-loader": "^0.2.3",
|
"vue-content-loader": "^0.2.3",
|
||||||
"vue-cropperjs": "^4.1.0",
|
"vue-cropperjs": "^4.1.0",
|
||||||
|
|
Loading…
Reference in a new issue