Feature: Add option to ignore blockdevice regex (#8797)

* Feature: Add option to ignore blockdevice regex

* Update defaults.inc.php

* Update functions.php
This commit is contained in:
Daniel Preussker
2018-06-05 09:28:13 +00:00
committed by GitHub
parent 6e1db1c872
commit 4e79465f43
3 changed files with 23 additions and 1 deletions

View File

@@ -955,3 +955,6 @@ $config['api']['cors']['origin'] = '*';
$config['api']['cors']['maxage'] = '86400';
$config['api']['cors']['allowmethods'] = array('POST', 'GET', 'PUT', 'DELETE', 'PATCH');
$config['api']['cors']['allowheaders'] = array('Origin', 'X-Requested-With', 'Content-Type', 'Accept', 'X-Auth-Token');
// Disk
$config['bad_disk_regexp'] = [];