朱纯树博客
VPS测评推荐网站
cloudacead cloudacead

修改宝塔面板中OneDrive备份插件支持世纪互联

首先直接在宝塔面板里安装OneDrive的插件模块,这个就不用多说了吧?
然后修改/www/server/panel/plugin/msonedrive/credentials.json这个文件

{
  "client_id": "这里改成自己的client_id",
  "client_secret": "这里改成自己的client_secret",
  "authority": "https://login.chinacloudapi.cn/common",
  "token_endpoint": "/oauth2/v2.0/token",
  "authorize_endpoint": "/oauth2/v2.0/authorize",
  "scopes": "offline_access Files.ReadWrite.All User.Read",
  "redirect_uri": "http://localhost",
  "api_uri": "https://microsoftgraph.chinacloudapi.cn/v1.0"
}

然后回到宝塔插件里授权即可。

赞(0) 打赏
未经允许不得转载:VPS测评推荐网站 - 朱纯树博客 » 修改宝塔面板中OneDrive备份插件支持世纪互联

评论 5514

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
  1. #5520
  2. #5519

    Hi there, just turned into aware of your blog through Google, and located that it’s really informative. I?m gonna watch out for brussels. I will appreciate in the event you continue this in future. Numerous other people will probably be benefited from your writing. Cheers!

  3. #5518

    Thanks for your article. I also think laptop computers are getting to be more and more popular nowadays, and now are often the only sort of computer utilised in a household. It is because at the same time they are becoming more and more reasonably priced, their computing power keeps growing to the point where they may be as potent as pc’s through just a few years back.

  4. #5517
  5. #5516

    There may be noticeably a bundle to know about this. I assume you made sure nice factors in options also.

  6. #5515
  7. #5514
  8. #5513

    Amazing things here. I am very satisfied to look your post.
    Thank you a lot and I am looking ahead to contact you.

    Will you kindly drop me a mail?

  9. #5512