diff options
author | Freya Murphy <freya@freyacat.org> | 2024-12-23 22:20:08 -0500 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2024-12-23 22:20:08 -0500 |
commit | 71b2e1cbb0798b0f2d28e4fc6ad3d0fc7dca9248 (patch) | |
tree | 66d6c5767cce0e1a39b447c5af8ec4f99341ae0f /src/web/config.php | |
parent | v2.1.0, refactor w/ crimson (diff) | |
download | xssbook2-71b2e1cbb0798b0f2d28e4fc6ad3d0fc7dca9248.tar.gz xssbook2-71b2e1cbb0798b0f2d28e4fc6ad3d0fc7dca9248.tar.bz2 xssbook2-71b2e1cbb0798b0f2d28e4fc6ad3d0fc7dca9248.zip |
update xssbook to work with crimson updates
Diffstat (limited to 'src/web/config.php')
-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( |