From 4deaf050d7730908b73c45b7e726eb129bdf243f Mon Sep 17 00:00:00 2001 From: Marcin Rataj Date: Tue, 29 Sep 2020 02:30:48 +0200 Subject: [PATCH] chore: dir-index-html 1.2.1 release notes: https://github.com/ipfs/dir-index-html/releases/tag/1.2.1 --- assets/dir-index-html | 2 +- test/sharness/t0115-gateway-dir-listing.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/assets/dir-index-html b/assets/dir-index-html index 92efd3dfd..5c6147fd0 160000 --- a/assets/dir-index-html +++ b/assets/dir-index-html @@ -1 +1 @@ -Subproject commit 92efd3dfd1cdaf2ca50b34b2b5d1243c5dcc8af7 +Subproject commit 5c6147fd02e88b0a235ac655f58741436a2f2b80 diff --git a/test/sharness/t0115-gateway-dir-listing.sh b/test/sharness/t0115-gateway-dir-listing.sh index 17740a3b8..d7808a261 100755 --- a/test/sharness/t0115-gateway-dir-listing.sh +++ b/test/sharness/t0115-gateway-dir-listing.sh @@ -71,13 +71,13 @@ DIR_HOSTNAME="${DIR_CID}.ipfs.localhost" # note: we skip DNS lookup by running curl with --resolve $DIR_HOSTNAME:127.0.0.1 test_expect_success "path gw: backlink on root CID should point origin root" ' - curl -sD - --resolve $DIR_HOSTNAME:127.0.0.1 http://$DIR_HOSTNAME:$GWAY_PORT/ > list_response && + curl -sD - --resolve $DIR_HOSTNAME:$GWAY_PORT:127.0.0.1 http://$DIR_HOSTNAME:$GWAY_PORT/ > list_response && test_should_contain "Index of" list_response && test_should_contain ".." list_response ' test_expect_success "path gw: Etag should be present" ' - curl -sD - --resolve $DIR_HOSTNAME:127.0.0.1 http://$DIR_HOSTNAME:$GWAY_PORT/ą/ę > list_response && + curl -sD - --resolve $DIR_HOSTNAME:$GWAY_PORT:127.0.0.1 http://$DIR_HOSTNAME:$GWAY_PORT/ą/ę > list_response && test_should_contain "Index of" list_response && test_should_contain "Etag: \"DirIndex-" list_response '