Skip to content

Commit 2365f11

Browse files
akincerweaverryan
authored andcommitted
README change - preventing localhost URI for prod
1 parent 05216bf commit 2365f11

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,17 @@ symfonycasts_reset_password:
5555
enable_garbage_collection: true
5656
```
5757
58+
The production environment may require the `default_uri` to be defined in the `config/packages/routing.yaml` to prevent the URI in emails to point to localhost.
59+
60+
```yaml
61+
# config/packages/routing.yaml
62+
when@prod:
63+
framework:
64+
router:
65+
# ...
66+
default_uri: '<your project's root URI>'
67+
```
68+
5869
### Parameters:
5970

6071
#### `request_password_repository`

0 commit comments

Comments
 (0)