add Progressive Web App

This commit is contained in:
Alex Turchyn
2025-02-01 21:55:47 +02:00
committed by Pete Matsyburka
parent eb53af12c4
commit fa74ee1755
7 changed files with 48 additions and 0 deletions
+4
View File
@@ -69,6 +69,10 @@ module Docuseal
@default_pkcs ||= GenerateCertificate.load_pkcs(Docuseal::CERTS)
end
def enable_pwa?
true
end
def trusted_certs
@trusted_certs ||=
ENV['TRUSTED_CERTS'].to_s.gsub('\\n', "\n").split("\n\n").map do |base64|