Repository navigation
Commit 783a9aa
committed
docs: fix allowed-domain override example to pass the property via --args
A -Dregistration.guard.allowed-domain=... placed after the bootRun task
sets the property on the Gradle JVM, which is not forwarded to the forked
Spring Boot application, so the override silently no-ops. Pass it as a
Spring Boot command-line argument inside --args instead (same mechanism
used for --spring.profiles.active). Addresses PR review feedback.1 parent 3c6d536 commit 783a9aa
1 file changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
345 | 345 | | |
346 | 346 | | |
347 | 347 | | |
348 | | - | |
349 | | - | |
350 | | - | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
351 | 352 | | |
352 | 353 | | |
353 | 354 | | |
| |||
0 commit comments