[MM-46101] Move allowed protocols to build config (#2217)

This commit is contained in:
Devin Binnie
2022-08-15 09:06:31 -04:00
committed by GitHub
parent 78d0bbc551
commit 1270859d39
5 changed files with 16 additions and 20 deletions

View File

@@ -18,6 +18,7 @@ import {BuildConfig} from 'types/config';
* Specify at least one server for "defaultTeams"
* when "enableServerManagement is set to false
* @prop {[]} managedResources - Defines which paths are managed
* @prop {[]} allowedProtocols - Defines which protocols should be automatically allowed
*/
const buildConfig: BuildConfig = {
defaultTeams: [/*
@@ -30,6 +31,12 @@ const buildConfig: BuildConfig = {
enableServerManagement: true,
enableAutoUpdater: true,
managedResources: ['trusted'],
allowedProtocols: [
'mattermost',
'ftp',
'mailto',
'tel',
],
};
export default buildConfig;