瀏覽代碼

Update site config

Daniel Supernault 11 月之前
父節點
當前提交
aa1049e3e0
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      app/Util/Site/Config.php

+ 2 - 1
app/Util/Site/Config.php

@@ -7,7 +7,7 @@ use Illuminate\Support\Str;
 
 class Config
 {
-    const CACHE_KEY = 'api:site:configuration:_v0.8';
+    const CACHE_KEY = 'api:site:configuration:_v0.9';
 
     public static function get()
     {
@@ -97,6 +97,7 @@ class Config
                         ],
                     ],
                     'hls' => $hls,
+                    'groups' => (bool) config('groups.enabled'),
                 ],
             ];
         });