Skip to content

Commit 4fd0e71

Browse files
committed
fix(site): restore SPA try_files fallback after markdown rewrite
1 parent 82534e9 commit 4fd0e71

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

apps/site/Caddyfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
header /robots.txt Content-Type "text/plain; charset=utf-8"
1717
header /sitemap.xml Content-Type "application/xml; charset=utf-8"
1818
rewrite @markdown /index.md
19+
try_files {path} /index.html
1920

2021
file_server
2122
header /pythinker-code/* Cache-Control "no-cache"

0 commit comments

Comments
 (0)