summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-11-29 17:01:43 +0100
committerBackportbot <backportbot-noreply@rullzer.com>2018-11-29 18:37:41 +0000
commit19fbff9dd1ba9889e144e2613c7ec85928e00c85 (patch)
tree598005f4717c2304fc3fa252962a6384933da26e /settings
parentc602d1b7517a552968fc974835ec22d717700af4 (diff)
downloadnextcloud-server-19fbff9dd1ba9889e144e2613c7ec85928e00c85.tar.gz
nextcloud-server-19fbff9dd1ba9889e144e2613c7ec85928e00c85.zip
Add check for missing .woff2 rule in Nginx via setup check
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'settings')
-rw-r--r--settings/js/admin.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/settings/js/admin.js b/settings/js/admin.js
index 1c766ef51a5..2f3cc0356c9 100644
--- a/settings/js/admin.js
+++ b/settings/js/admin.js
@@ -252,9 +252,10 @@ $(document).ready(function(){
OC.SetupChecks.checkWellKnownUrl('/.well-known/carddav', oc_defaults.docPlaceholderUrl, $('#postsetupchecks').data('check-wellknown') === true),
OC.SetupChecks.checkSetup(),
OC.SetupChecks.checkGeneric(),
+ OC.SetupChecks.checkWOFF2Loading(OC.filePath('core', '', 'fonts/Nunito-Regular.woff2'), oc_defaults.docPlaceholderUrl),
OC.SetupChecks.checkDataProtected()
- ).then(function(check1, check2, check3, check4, check5, check6, check7) {
- var messages = [].concat(check1, check2, check3, check4, check5, check6, check7);
+ ).then(function(check1, check2, check3, check4, check5, check6, check7, check8) {
+ var messages = [].concat(check1, check2, check3, check4, check5, check6, check7, check8);
var $el = $('#postsetupchecks');
$('#security-warning-state-loading').addClass('hidden');