Skip to content

Instantly share code, notes, and snippets.

@SamSaffron
Created December 26, 2022 22:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SamSaffron/e03a5d90800ce2cebefab5aa5d743ba0 to your computer and use it in GitHub Desktop.
Save SamSaffron/e03a5d90800ce2cebefab5aa5d743ba0 to your computer and use it in GitHub Desktop.
diff --git a/Gemfile.lock b/Gemfile.lock
index 18926283bc..7b9dae8d29 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -238,14 +238,6 @@ GEM
nokogiri (1.13.10)
mini_portile2 (~> 2.8.0)
racc (~> 1.4)
- nokogiri (1.13.10-aarch64-linux)
- racc (~> 1.4)
- nokogiri (1.13.10-arm64-darwin)
- racc (~> 1.4)
- nokogiri (1.13.10-x86_64-darwin)
- racc (~> 1.4)
- nokogiri (1.13.10-x86_64-linux)
- racc (~> 1.4)
oauth (1.1.0)
oauth-tty (~> 1.0, >= 1.0.1)
snaky_hash (~> 2.0)
diff --git a/config/initializers/100-push-notifications.rb b/config/initializers/100-push-notifications.rb
index 4a8166c077..3bf559acaf 100644
--- a/config/initializers/100-push-notifications.rb
+++ b/config/initializers/100-push-notifications.rb
@@ -14,7 +14,7 @@ Rails.application.config.to_prepare do
SiteSetting.vapid_base_url = Discourse.base_url if SiteSetting.vapid_base_url.blank?
- if generate_vapid_key?
+ if false && generate_vapid_key?
vapid_key = Webpush.generate_key
SiteSetting.vapid_public_key = vapid_key.public_key
SiteSetting.vapid_private_key = vapid_key.private_key
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment