From 71b2e1cbb0798b0f2d28e4fc6ad3d0fc7dca9248 Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Mon, 23 Dec 2024 22:20:08 -0500 Subject: update xssbook to work with crimson updates --- src/web/config.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/web/config.php') 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( -- cgit v1.2.3-freya