Browse Source

Change mastodon:webpush:generate_vapid_key task to not require functional env (#17338)

Fixes #17297
cs+3.4.6
Claire 2 years ago
parent
commit
bf005edd30
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lib/tasks/mastodon.rake

+ 1
- 1
lib/tasks/mastodon.rake View File

@ -441,7 +441,7 @@ namespace :mastodon do
namespace :webpush do
desc 'Generate VAPID key'
task generate_vapid_key: :environment do
task :generate_vapid_key do
vapid_key = Webpush.generate_key
puts "VAPID_PRIVATE_KEY=#{vapid_key.private_key}"
puts "VAPID_PUBLIC_KEY=#{vapid_key.public_key}"

Loading…
Cancel
Save