[MM-21835] Use URL instead of the url library (#1384)

Additionally, migrate all of the URL related helper functions
from `src/utils/utils.js` to the new `src/utils/url.js` file
and migrate tests.

Issue MM-21835
Fixes #1206
This commit is contained in:
FalseHonesty
2020-11-04 14:59:07 -05:00
committed by GitHub
parent ad1871ad95
commit 5d0a937bb9
16 changed files with 308 additions and 299 deletions

View File

@@ -1,4 +1,3 @@
// Copyright (c) 2016-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
@@ -13,4 +12,4 @@ export const BASIC_AUTH_PERMISSION = 'canBasicAuth';
// Permission descriptions
export const PERMISSION_DESCRIPTION = {
[BASIC_AUTH_PERMISSION]: 'Web Authentication',
};
};