A platform for community discussion. Free, open, simple.
FEATURE: Enable the Web Share Target API
Rafael dos Santos Silva9014ca462461
diff --git a/app/controllers/metadata_controller.rb b/app/controllers/metadata_controller.rbindex f8d75cfb3df..e5993b7a69c 100644--- a/app/controllers/metadata_controller.rb+++ b/app/controllers/metadata_controller.rb@@ -21,6 +21,9 @@ class MetadataController < ApplicationControllerdisplay: 'standalone',orientation: 'natural',start_url: "#{Discourse.base_uri}/",+ share_target: {+ url_template: 'new-topic?title={title}&body={text}%0A%0A{url}'+ },background_color: "##{ColorScheme.hex_for_name('secondary')}",theme_color: "##{ColorScheme.hex_for_name('header_background')}",icons: [