Skip to content

Commit

Permalink
fix: require file to exist for GitHub redirect
Browse files Browse the repository at this point in the history
Otherwise serve a 404.
  • Loading branch information
dbohdan committed Jul 3, 2021
1 parent b196aab commit 0ff31a3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions media/Caddyfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
path /media/*
}
@markdown {
file
path_regexp \.md$
}
@markdown_exists {
Expand Down

0 comments on commit 0ff31a3

Please sign in to comment.