Update Config, bump version for post edit support without having to clear cache

This commit is contained in:
Daniel Supernault 2023-05-25 02:03:59 -06:00
parent 18c744c458
commit c0190d8436
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -7,7 +7,7 @@ use Illuminate\Support\Str;
class Config { class Config {
const CACHE_KEY = 'api:site:configuration:_v0.7'; const CACHE_KEY = 'api:site:configuration:_v0.8';
public static function get() { public static function get() {
return Cache::remember(self::CACHE_KEY, 900, function() { return Cache::remember(self::CACHE_KEY, 900, function() {