summaryrefslogtreecommitdiff
path: root/caddytest
diff options
context:
space:
mode:
authorMatthew Holt <mholt@users.noreply.github.com>2020-11-24 18:04:37 -0700
committerMatthew Holt <mholt@users.noreply.github.com>2020-11-24 18:04:37 -0700
commit03d853e2ec24beb55ade910b222e043fdac9e7ea (patch)
tree591d2c202c39453807518181774895141bc24d98 /caddytest
parent63afffc2e317579a5bc618d5441ac238127114a0 (diff)
httpcaddyfile: Fix test on Windows
Diffstat (limited to 'caddytest')
-rw-r--r--caddytest/integration/caddyfile_adapt/log_except_catchall_blocks.txt8
1 files changed, 3 insertions, 5 deletions
diff --git a/caddytest/integration/caddyfile_adapt/log_except_catchall_blocks.txt b/caddytest/integration/caddyfile_adapt/log_except_catchall_blocks.txt
index a6fd051..57b63af 100644
--- a/caddytest/integration/caddyfile_adapt/log_except_catchall_blocks.txt
+++ b/caddytest/integration/caddyfile_adapt/log_except_catchall_blocks.txt
@@ -1,6 +1,6 @@
http://localhost:2020 {
log
- file_server
+ respond 200
}
:2020 {
@@ -31,10 +31,8 @@ http://localhost:2020 {
{
"handle": [
{
- "handler": "file_server",
- "hide": [
- "./Caddyfile"
- ]
+ "handler": "static_response",
+ "status_code": 200
}
]
}