Skip to content

Commit a945cd7

Browse files
authored
Fix wrong domain used as example (#1078)
2 parents 4fe3d95 + e6e6508 commit a945cd7

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

config/.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export APP_DEFAULT_LOCALE="en_US"
2020
export APP_DEFAULT_TIMEZONE="UTC"
2121
# SECURITY: Set this to your domain to prevent Host Header Injection attacks
2222
# This is REQUIRED in production for password resets and other security features
23-
export APP_FULL_BASE_URL="https://yourdomain.com"
23+
export APP_FULL_BASE_URL="https://example.com"
2424
export SECURITY_SALT="__SALT__"
2525

2626
# Uncomment these to define cache configuration via environment variables.

config/app.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
* IMPORTANT: This MUST be set in production to prevent Host Header Injection attacks
4141
* that can compromise password reset and other security-critical features.
4242
* Set this via APP_FULL_BASE_URL environment variable or directly in config.
43-
* Example: 'https://yourdomain.com'
43+
* Example: 'https://example.com'
4444
* When not set, the application will throw an exception in production mode.
4545
* - imageBaseUrl - Web path to the public images/ directory under webroot.
4646
* - cssBaseUrl - Web path to the public css/ directory under webroot.

config/bootstrap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@
156156
* Set APP_FULL_BASE_URL in your environment variables or configure App.fullBaseUrl
157157
* in config/app.php or config/app_local.php
158158
*
159-
* Example: APP_FULL_BASE_URL=https://yourdomain.com
159+
* Example: APP_FULL_BASE_URL=https://example.com
160160
*/
161161
$fullBaseUrl = Configure::read('App.fullBaseUrl');
162162
if (!$fullBaseUrl) {

0 commit comments

Comments
 (0)