aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJosh <josh.t.richards@gmail.com>2024-04-02 09:46:58 -0400
committerFerdinand Thiessen <opensource@fthiessen.de>2024-04-02 18:10:22 +0200
commit66fad4ae93ba11146dfc5884f1aff5eecf88df08 (patch)
tree1ee5921b3a72073369b9ff3f777608bca041b6a0 /apps
parent9aa7225ed3e78c2e418c983e65bdc1f1787b9940 (diff)
downloadnextcloud-server-66fad4ae93ba11146dfc5884f1aff5eecf88df08.tar.gz
nextcloud-server-66fad4ae93ba11146dfc5884f1aff5eecf88df08.zip
fix(SetupChecks): Add hint about dns/firewall if `mjs` check can't run
Signed-off-by: Josh <josh.t.richards@gmail.com>
Diffstat (limited to 'apps')
-rw-r--r--apps/settings/lib/SetupChecks/JavaScriptModules.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/settings/lib/SetupChecks/JavaScriptModules.php b/apps/settings/lib/SetupChecks/JavaScriptModules.php
index 81f580a37bc..6aff7dcfaaa 100644
--- a/apps/settings/lib/SetupChecks/JavaScriptModules.php
+++ b/apps/settings/lib/SetupChecks/JavaScriptModules.php
@@ -68,7 +68,7 @@ class JavaScriptModules implements ISetupCheck {
}
if ($noResponse) {
- return SetupResult::warning($this->l10n->t('Could not check for JavaScript support. Please check manually if your webserver serves `.mjs` files using the JavaScript MIME type.') . "\n" . $this->serverConfigHelp());
+ return SetupResult::warning($this->l10n->t('Could not check for JavaScript support via any of your `trusted_domains` nor `overwrite.cli.url`. This may be the result of a server-side DNS mismatch or outbound firewall rule. Please check manually if your webserver serves `.mjs` files using the JavaScript MIME type.') . "\n" . $this->serverConfigHelp());
}
return SetupResult::error($this->l10n->t('Your webserver does not serve `.mjs` files using the JavaScript MIME type. This will break some apps by preventing browsers from executing the JavaScript files. You should configure your webserver to serve `.mjs` files with either the `text/javascript` or `application/javascript` MIME type.'));