A platform for community discussion. Free, open, simple.
FEATURE: Allow users to fetch a customized manifest on PWA install
Rafael dos Santos Silva8ce20090f710
diff --git a/app/controllers/metadata_controller.rb b/app/controllers/metadata_controller.rbindex bbe977b3fd2..c508df57146 100644--- a/app/controllers/metadata_controller.rb+++ b/app/controllers/metadata_controller.rb@@ -40,6 +40,8 @@ class MetadataController < ApplicationController],share_target: {action: "/new-topic",+ method: "GET",+ enctype: "application/x-www-form-urlencoded",params: {title: "title",text: "body"diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erbindex a01460ce174..e12c4931e6e 100644--- a/app/views/layouts/application.html.erb+++ b/app/views/layouts/application.html.erb@@ -44,7 +44,7 @@<%= render_google_tag_manager_head_code %><%= render_google_universal_analytics_code %>- <link rel="manifest" href="<%= Discourse.base_uri %>/manifest.webmanifest">+ <link rel="manifest" href="<%= Discourse.base_uri %>/manifest.webmanifest" crossorigin="use-credentials"><%- if SiteSetting.native_app_install_banner? %><meta name="apple-itunes-app" content="app-id=1173672076">