Somebottle's Onedrive Directory Index
cdn.jsdelivr.net
为fastly.jsdelivr.net
程序修改仅影响了一行,各位更新的时候只需要按照这个微改就可以了:
https://github.com/SomeBottle/OdIndex/commit/060872e0191fa91d85e0280f47f639c565ea6dca
当访问目录对应的URL但结尾没带/时,会自动重定向。例如:
访问:https://xxx/Documents
-> 重定向: https://xxx/Documents/
访问:https://xxx/?/Documents
-> 重定向: https://xxx/?/Documents/
因此,一定注意在设置伪静态后要修改config
中的rewrite
配置!
base
项的描述。isset
,已改为array_key_exists
方法。404
状态码了。markdown-it