[MM-46101] Move allowed protocols to build config (#2217)
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user