소스 검색

fix(SetupChecks): Add hint about dns/firewall if `mjs` check can't run

Signed-off-by: Josh <josh.t.richards@gmail.com>
pull/44621/head
Josh 3 달 전
부모
커밋
66fad4ae93
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      apps/settings/lib/SetupChecks/JavaScriptModules.php

+ 1
- 1
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.'));

Loading…
취소
저장