Update ApiV2Controller, add vapid key to instance object. Thanks thisismissem!

This commit is contained in:
Daniel Supernault 2024-02-07 05:59:12 -07:00
parent 97b7cb2719
commit 4d02d6f12e
No known key found for this signature in database
GPG key ID: 23740873EE6F76A1

View file

@ -96,6 +96,9 @@ class ApiV2Controller extends Controller
'streaming' => 'wss://' . config('pixelfed.domain.app'), 'streaming' => 'wss://' . config('pixelfed.domain.app'),
'status' => null 'status' => null
], ],
'vapid' => [
'public_key' => config('webpush.vapid.public_key'),
],
'accounts' => [ 'accounts' => [
'max_featured_tags' => 0, 'max_featured_tags' => 0,
], ],