Commit 719d49e
Add SPA fallback support to YARP container image
When YARP_ENABLE_STATIC_FILES is enabled, MapFallbackToFile("index.html")
is registered after MapReverseProxy() so unmatched requests serve index.html
for client-side routing. Set YARP_DISABLE_SPA_FALLBACK=true to opt out.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 6458e08 commit 719d49e
1 file changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
42 | 51 | | |
43 | 52 | | |
44 | 53 | | |
0 commit comments