From 03d853e2ec24beb55ade910b222e043fdac9e7ea Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Tue, 24 Nov 2020 18:04:37 -0700 Subject: httpcaddyfile: Fix test on Windows --- .../integration/caddyfile_adapt/log_except_catchall_blocks.txt | 8 +++----- 1 file 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 } ] } -- cgit v1.2.3