diff options
author | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-05-10 17:54:41 +0200 |
---|---|---|
committer | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-05-13 09:27:19 +0200 |
commit | ef320200b97b59045988a6c45207102b0a2d46f7 (patch) | |
tree | df35c56c858e1f39129aff96c7f503be40549c54 /apps/settings/lib/SetupChecks/JavaScriptModules.php | |
parent | a5fc9b15630a583f43f549ac21982c2fe2b8c0df (diff) | |
download | nextcloud-server-ef320200b97b59045988a6c45207102b0a2d46f7.tar.gz nextcloud-server-ef320200b97b59045988a6c45207102b0a2d46f7.zip |
fix: Move hint about firewall issues to common helper string
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Josh <josh.t.richards@gmail.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'apps/settings/lib/SetupChecks/JavaScriptModules.php')
-rw-r--r-- | apps/settings/lib/SetupChecks/JavaScriptModules.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/settings/lib/SetupChecks/JavaScriptModules.php b/apps/settings/lib/SetupChecks/JavaScriptModules.php index 6aff7dcfaaa..a96906dbabb 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 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::warning($this->l10n->t('Unable to run check for JavaScript support. Please remedy or confirm 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.')); |