Skip to content

Commit

Permalink
Improve not-found option documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
kotx authored Sep 21, 2022
1 parent 7fae74b commit 9f945c5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions wrangler.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,13 @@ CACHE_CONTROL = "max-age=86400"
PATH_PREFIX = ""

# Index file to search for on directory requests, set to "" to disable indexes
# Relative to the directory of the request.
#INDEX_FILE = ""
INDEX_FILE = "index.html"

# 404 file to use for the bucket when a file is not found.
# File to fall back to when the requested path is not found in the bucket.
# Incurs an additional read operation for 404 requests.
# Set to "" to disable 404 behaviour.
# Set to "" to disable custom 404 fallbacks.
# Relative to the root of the bucket.
NOTFOUND_FILE = ""
#NOT_FOUND_FILE = "404.html"
Expand Down

0 comments on commit 9f945c5

Please sign in to comment.