codeskyblue / gohttpserver

The best HTTP Static File Server, write with golang+vue
MIT License
2.57k stars 542 forks source link

How to get directory listing ? #144

Open mayuresh82 opened 2 years ago

mayuresh82 commented 2 years ago

I am trying to use a gohttpserver as a remote source for rclone. [https://rclone.org/http/] requires directory listing returned in index.html. Is there a way to get remote directory listing ?

codeskyblue commented 2 years ago

add &json=true to path suffix

https://localhost:8000/folder/?json=true

mayuresh82 commented 1 year ago

@codeskyblue i dont think that is going to work with rclone which requires the directory listing inside index.html :(

457452950 commented 12 months ago

Your description is very unclear. If possible, a screenshot of the scene would be very helpful.