Daniel Supernault 6 лет назад
Родитель
Сommit
4b06d3565a
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      resources/views/admin/settings/config/general.blade.php

+ 2 - 2
resources/views/admin/settings/config/general.blade.php

@@ -28,9 +28,9 @@
       <label for="app_url" class="col-sm-3 col-form-label font-weight-bold text-right">ActivityPub</label>
       <label for="app_url" class="col-sm-3 col-form-label font-weight-bold text-right">ActivityPub</label>
       <div class="col-sm-9">
       <div class="col-sm-9">
         <div class="form-check pb-2">
         <div class="form-check pb-2">
-          <input class="form-check-input" type="checkbox" id="activitypub_enabled" name="activitypub_enabled" {{config('pixelfed.activitypub_enabled') === true ? 'checked=""' : '' }}>
+          <input class="form-check-input" type="checkbox" id="activitypub_enabled" name="activitypub_enabled" {{config('federation.activitypub.enabled') === true ? 'checked=""' : '' }}>
           <label class="form-check-label font-weight-bold" for="activitypub_enabled">
           <label class="form-check-label font-weight-bold" for="activitypub_enabled">
-            {{config('pixelfed.activitypub_enabled') === true ? 'Enabled' : 'Disabled' }}
+            {{config('federation.activitypub.enabled') === true ? 'Enabled' : 'Disabled' }}
           </label>
           </label>
           <p class="text-muted small help-text font-weight-bold">Enable for federation support.</p>
           <p class="text-muted small help-text font-weight-bold">Enable for federation support.</p>
         </div>
         </div>