diff --git a/docs/zh-cn/installation.md b/docs/zh-cn/installation.md index be22b9d0..36de6596 100644 --- a/docs/zh-cn/installation.md +++ b/docs/zh-cn/installation.md @@ -11,7 +11,7 @@ docker run -d -v /etc/sharelist:/sharelist/cache -p 33001:33001 --name="sharelis ## Heroku -请 Fork [sharelist-heroku](https://github.com/reruin/sharelist-heroku/tree/next),然后在个人仓库下点 Deploy to HeroKu。CONFIG 配置文件处 +请 Fork [sharelist-heroku](https://github.com/reruin/sharelist-heroku/tree/next),然后在个人仓库下点 Deploy to HeroKu。 安装完成首次访问 `http://localhost:33001`地址,将进入默认界面。访问`http://localhost:33001/@manage` 进入后台管理,默认口令为 ```sharelist```。 \ No newline at end of file diff --git a/packages/sharelist/CHANGELOG.md b/packages/sharelist/CHANGELOG.md index 56bd02cc..ecd56933 100644 --- a/packages/sharelist/CHANGELOG.md +++ b/packages/sharelist/CHANGELOG.md @@ -1,3 +1,7 @@ +## [0.3.14](https://github.com/reruin/sharelist/compare/v0.3.13...v0.3.14) (2022-01-05) + + + ## [0.3.13](https://github.com/reruin/sharelist/compare/v0.3.12...v0.3.13) (2022-01-04) diff --git a/packages/sharelist/package.json b/packages/sharelist/package.json index 08891a0c..ca1fdb0f 100644 --- a/packages/sharelist/package.json +++ b/packages/sharelist/package.json @@ -1,6 +1,6 @@ { "name": "sharelist", - "version": "0.3.13", + "version": "0.3.14", "bin": "app.js", "repository": "https://github.com/reruin/sharelist", "license": "MIT", diff --git a/packages/sharelist/package/webdav/index.js b/packages/sharelist/package/webdav/index.js index 5afce7f0..1300ecc8 100644 --- a/packages/sharelist/package/webdav/index.js +++ b/packages/sharelist/package/webdav/index.js @@ -182,7 +182,7 @@ const createDriver = (driver, { proxy, baseUrl } = {}) => { //是否在相同磁盘 let isSameDisk = await driver.isSameDisk(data.id, targetParent.id) if (isSameDisk) { - console.log(data, targetParent) + // console.log(data, targetParent) // 相同父级目录 if (data.extra.parent_id && data.extra.parent_id == targetParent.extra?.fid) { await driver.rename(data.id, dstName) @@ -208,7 +208,7 @@ const createDriver = (driver, { proxy, baseUrl } = {}) => { const isWebDAVRequest = (ctx, webdavPath) => { if (webdavPath == '/') { - return /(Microsoft\-WebDAV|FileExplorer|WinSCP|WebDAVLib|WebDAVFS|rclone|Kodi|davfs2|sharelist\-webdav|RaiDrive|nPlayer|LibVLC|PotPlayer)/i.test(ctx.request.headers['user-agent']) || ('translate' in ctx.request.headers) || ('overwrite' in ctx.request.headers) || ('depth' in ctx.request.headers) + return /(Microsoft\-WebDAV|FileExplorer|WinSCP|WebDAVLib|WebDAVFS|rclone|Kodi|davfs2|sharelist\-webdav|RaiDrive|nPlayer|LibVLC|PotPlayer|gvfs)/i.test(ctx.request.headers['user-agent']) || ('translate' in ctx.request.headers) || ('overwrite' in ctx.request.headers) || ('depth' in ctx.request.headers) } else { return ctx.params.path.startsWith(webdavPath) }