Skip to content

Commit 37fb59f

Browse files
committed
Issues-659: Updated deployment default config to allow embedding and trusted domains
1 parent 33788de commit 37fb59f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

config/vanilla/config.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
<?php if (!defined('APPLICATION')) exit();
22

33
$Configuration['Garden']['Installed'] = true;
4-
//Embed
4+
// Embed
55
$Configuration['Garden']['Embed']['Allow'] = true;
66
$Configuration['Garden']['Embed']['ForceForum'] = false;
7+
// Trusted Domains. Specify one domain per line; use * for wildcard matches
8+
$Configuration['Garden']['TrustedDomains'] = '*.topcoder-dev.com
9+
*.topcoder.com';
710

811
$Configuration['Database']['Name'] = getenv('MYSQL_DATABASE');
912
$Configuration['Database']['Host'] = getenv('MYSQL_HOST');

0 commit comments

Comments
 (0)