yanzai / goindex

Goindex 修改版,支持多盘、搜索、分页加载等功能
https://yanzai-goindex.java.workers.dev
334 stars 262 forks source link

文件夹的 Shortcut 无法使用 #28

Open RockerFlower opened 4 years ago

RockerFlower commented 4 years ago

文件的 Shortcut 可以访问,文件夹的似乎被当作文件了

{
 "error": {
  "errors": [
   {
    "domain": "global",
    "reason": "fileNotDownloadable",
    "message": "Only files with binary content can be downloaded. Use Export with Google Docs files.",
    "locationType": "parameter",
    "location": "alt"
   }
  ],
  "code": 403,
  "message": "Only files with binary content can be downloaded. Use Export with Google Docs files."
 }
}
RockerFlower commented 4 years ago

https://github.com/swjsky/goindex/commit/d3c9746cec04dac3c7c929a565facf773a1b2eb1

加上这个 commit 就可以修复