We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 669973e commit b138931Copy full SHA for b138931
1 file changed
app/Listeners/RegenerateSettingsFile.php
@@ -3,6 +3,7 @@
3
namespace App\Listeners;
4
5
use App\Events\SettingsUpdated;
6
+use App\Services\ConfigService;
7
use App\Services\SettingsFileService;
8
use Illuminate\Contracts\Queue\ShouldQueue;
9
@@ -14,5 +15,10 @@ public function handle(SettingsUpdated $event)
14
15
{
16
(new SettingsFileService)->generatePublicConfig();
17
(new SettingsFileService)->generateAdminConfig();
18
+ app(ConfigService::class)->forYouFeed(true);
19
+ app(ConfigService::class)->federation(true);
20
+ app(ConfigService::class)->federationMode(true);
21
+ app(ConfigService::class)->federationAllowedServers(true);
22
+ app(ConfigService::class)->federationAuthorizedFetch(true);
23
}
24
0 commit comments