Skip to content
Snippets Groups Projects
Unverified Commit 1e8c885e authored by Claire's avatar Claire Committed by GitHub
Browse files

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

Fixes #17297
parent 6eea3f8f
No related branches found
No related tags found
No related merge requests found
......@@ -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}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment