Merge branch 'develop'
This commit is contained in:
@@ -9,3 +9,10 @@ RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteCond %{REQUEST_FILENAME} !-d
|
||||
RewriteRule ^api/(.*)$ api/index.php?action=$1&%{QUERY_STRING} [L,QSA]
|
||||
AddType application/x-x509-ca-cert .crt
|
||||
|
||||
# Prevent caching of JS/CSS so kiosk always gets fresh files
|
||||
<FilesMatch "\.(js|css)$">
|
||||
Header set Cache-Control "no-cache, no-store, must-revalidate"
|
||||
Header set Pragma "no-cache"
|
||||
Header set Expires "0"
|
||||
</FilesMatch>
|
||||
|
||||
@@ -434,6 +434,7 @@ class KioskActivity : AppCompatActivity() {
|
||||
settings.mediaPlaybackRequiresUserGesture = false
|
||||
settings.allowFileAccess = true
|
||||
settings.mixedContentMode = android.webkit.WebSettings.MIXED_CONTENT_ALWAYS_ALLOW
|
||||
settings.cacheMode = android.webkit.WebSettings.LOAD_NO_CACHE
|
||||
|
||||
webView.webViewClient = object : WebViewClient() {
|
||||
override fun onReceivedSslError(
|
||||
|
||||
Reference in New Issue
Block a user