浏览代码

Merge pull request #2594 from pixelfed/staging

Staging
daniel 4 年之前
父节点
当前提交
aebd65c6a3
共有 2 个文件被更改,包括 2 次插入1 次删除
  1. 1 1
      app/Services/StatusLabelService.php
  2. 1 0
      package.json

+ 1 - 1
app/Services/StatusLabelService.php

@@ -20,7 +20,7 @@ class StatusLabelService
 		
 		return Cache::remember(self::CACHE_KEY . $status->id, now()->addDays(7), function() use($status) {
 			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'])
 			];
 		});
 	}

+ 1 - 0
package.json

@@ -41,6 +41,7 @@
         "sweetalert": "^2.1.2",
         "tributejs": "^4.1.3",
         "twitter-text": "^2.0.5",
+        "vue-blurhash": "^0.1.4",
         "vue-carousel": "^0.18.0",
         "vue-content-loader": "^0.2.3",
         "vue-cropperjs": "^4.1.0",