1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-27 02:06:52 +00:00

Merge pull request #2594 from pixelfed/staging

Staging
This commit is contained in:
daniel 2021-01-29 19:48:24 -07:00 committed by GitHub
commit aebd65c6a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -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'])
]; ];
}); });
} }

View file

@ -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",