怎么实现url不加“/”也能访问目录列表 #17
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
inactive
invalid
question
solved
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: SomeBottle/OdIndex#17
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
怎么实现url不加“/”也能访问目录列表,谢谢
我刚刚提交了一次更新,现在你在访问
https://xxx/Documents这种末尾不带/的url时会给你自动重定向到https://xxx/Documents/如果是需要访问
https://xxx/Documents来渲染目录,我只能很遗憾的说没有支持的计划,因为这样很有可能导致多处路径问题。非常感谢!
感谢反馈,这也是个比较久的遗留问题了,解决了就好(づ ̄3 ̄)
您好,未完全解决问题。
访问
https://od.xbottle.top/Videos/Abroad/
会被重定向到
https://od.xbottle.top/Videos/Videos/Abroad/
出现两个Videos
所以说动路径这方面确实很容易出问题😂,现在已经解决了。
https://github.com/SomeBottle/OdIndex/releases/tag/4.5