mirror of
https://github.com/nextcloud/server.git
synced 2026-02-20 00:12:30 -05:00
fix(settings): adjust source maps setup check wording and log level
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
This commit is contained in:
parent
f0494e2b5a
commit
a6a962d5a2
1 changed files with 2 additions and 2 deletions
|
|
@ -53,7 +53,7 @@ class JavaScriptSourceMaps implements ISetupCheck {
|
|||
}
|
||||
|
||||
public function getName(): string {
|
||||
return $this->l10n->t('JavaScript Source Maps support');
|
||||
return $this->l10n->t('JavaScript source map support');
|
||||
}
|
||||
|
||||
public function run(): SetupResult {
|
||||
|
|
@ -63,6 +63,6 @@ class JavaScriptSourceMaps implements ISetupCheck {
|
|||
return SetupResult::success();
|
||||
}
|
||||
|
||||
return SetupResult::error($this->l10n->t('Your webserver is not set up to serve `.js.map` files. Without these files, JavaScript Source Maps won\'t function properly, making it more challenging to troubleshoot and debug any issues that may arise.'));
|
||||
return SetupResult::warning($this->l10n->t('Your webserver is not set up to serve `.js.map` files. Without these files, JavaScript Source Maps won\'t function properly, making it more challenging to troubleshoot and debug any issues that may arise.'));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue