1
0
Fork 0
mirror of synced 2024-07-02 13:10:38 +12:00

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.
This commit is contained in:
Steven Nguyen 2023-09-04 15:17:14 -07:00
parent 4e00f61519
commit d4f6c5f491
No known key found for this signature in database

View file

@ -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 => [