From d4f6c5f4919d8490f8f0d2d457a888daf24f7eaf Mon Sep 17 00:00:00 2001 From: Steven Nguyen Date: Mon, 4 Sep 2023 15:17:14 -0700 Subject: [PATCH] Update the error message for router_domain_not_configured Explicitly list the environment variables that need to be configured to make it clear what needs to be done. --- app/config/errors.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/config/errors.php b/app/config/errors.php index ea95e5dfbe..575a4588ba 100644 --- a/app/config/errors.php +++ b/app/config/errors.php @@ -643,7 +643,7 @@ return [ ], Exception::ROUTER_DOMAIN_NOT_CONFIGURED => [ 'name' => Exception::ROUTER_DOMAIN_NOT_CONFIGURED, - 'description' => 'Domain environment variables not configured. Please configure domain environment variables before using Appwrite outside of localhost.', + 'description' => '_APP_DOMAIN, _APP_DOMAIN_TARGET, and _APP_DOMAIN_FUNCTIONS environment variables have not been configured. Please configure the domain environment variables before accessing the Appwrite Console via any IP address or hostname other than localhost. This value could be an IP like 203.0.113.0 or a hostname like example.com.', 'code' => 500, ], Exception::RULE_RESOURCE_NOT_FOUND => [