bee icon indicating copy to clipboard operation
bee copied to clipboard

fix: response for slash in website index document

Open swarmHaseeb opened this issue 2 years ago • 1 comments

Checklist

  • [x] I have read the coding guide
  • [x] I have added tests to cover my changes.
  • [x] I have filled out the description and linked the related issues

Description

Please refer to tagged issue for details. This pr sends correct response if there is a slash in website index document

Motivation and context (Optional)

Related Issue (Optional)

This pr fixes #2661

Screenshots (if appropriate):


This change is Reviewable

swarmHaseeb avatar Aug 29 '22 10:08 swarmHaseeb

Not sure if this is correct. We can have / in the index document. The way it works is for each folder you can configure the index document.

So you can have 2 index files: index.html someFolder/index.html

I guess this is why the tests are failing.

aloknerurkar avatar Sep 01 '22 08:09 aloknerurkar