summaryrefslogtreecommitdiffstats
path: root/core/src/utils
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@protonmail.com>2022-10-19 09:08:21 +0200
committerJohn Molakvoæ <skjnldsv@protonmail.com>2022-10-19 10:04:51 +0200
commit2d98cd1dafb3adbcad5d9af9245f44aec583de2e (patch)
treeca2f867e50680bed2911a94b35d98617b7252b59 /core/src/utils
parenta6684da737c40e3d05b3a88bf6f8c8649364587b (diff)
downloadnextcloud-server-2d98cd1dafb3adbcad5d9af9245f44aec583de2e.tar.gz
nextcloud-server-2d98cd1dafb3adbcad5d9af9245f44aec583de2e.zip
Add config and fix selenium
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'core/src/utils')
-rw-r--r--core/src/utils/RedirectUnsupportedBrowsers.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/src/utils/RedirectUnsupportedBrowsers.js b/core/src/utils/RedirectUnsupportedBrowsers.js
index 74074cec558..dd6bb99b94d 100644
--- a/core/src/utils/RedirectUnsupportedBrowsers.js
+++ b/core/src/utils/RedirectUnsupportedBrowsers.js
@@ -3,7 +3,7 @@
*
* @author John Molakvoæ <skjnldsv@protonmail.com>
*
- * @license GNU AGPL version 3 or any later version
+ * @license AGPL-3.0-or-later
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
@@ -23,10 +23,10 @@ import { generateUrl } from '@nextcloud/router'
import { supportedBrowsersRegExp } from '../services/BrowsersListService.js'
import browserStorage from '../services/BrowserStorageService.js'
-import logger from '../services/LoggerService.js'
+import logger from '../logger.js'
-const redirectPath = '/unsupported'
export const browserStorageKey = 'unsupported-browser-ignore'
+const redirectPath = '/unsupported'
const isBrowserOverridden = browserStorage.getItem(browserStorageKey) === 'true'