Commit 1cd6b71
authored
Enable raise_on_missing_only in development (#6495)
Configure Plug.Static with raise_on_missing_only: code_reloading?() to help
developers catch missing entries in static_paths() during development. This
prevents the common trap where files like favicon.svg return 404 because they
aren't properly declared in the :only list (often because they digested paths).
Closes #62031 parent 8046111 commit 1cd6b71
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
0 commit comments