diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/web/config.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/web/config.php b/src/web/config.php index 3ca2bbd..c09e923 100644 --- a/src/web/config.php +++ b/src/web/config.php @@ -23,9 +23,9 @@ // define('SITE_CONFIG', array( /* core settings */ - 'domain' => 'xssbook.com', - 'allowed_hosts' => ['xssbook.com'], - 'base_path' => '/', + 'domain' => getenv("XSSBOOK_HOST"), + 'allowed_hosts' => explode(" ", getenv("XSSBOOK_ALLOWED_HOSTS")), + 'base_path' => getenv("XSSBOOK_BASE_PATH"), 'theme_color' => '#1778f2', /* route overides */ 'routes' => array( |