wnm168 commited on
Commit
dfd51fa
·
verified ·
1 Parent(s): 4fb5e99

Update api/onedrive.go

Browse files
Files changed (1) hide show
  1. api/onedrive.go +1 -1
api/onedrive.go CHANGED
@@ -60,7 +60,7 @@ func onedriveToken(c *gin.Context) {
60
  "client_secret": clients[1],
61
  "code": req.Code,
62
  "grant_type": "authorization_code",
63
- "redirect_uri": "https://alist.nn.ci/tool/onedrive/callback",
64
  }).
65
  Post(zone.Oauth + "/common/oauth2/v2.0/token")
66
  if err != nil {
 
60
  "client_secret": clients[1],
61
  "code": req.Code,
62
  "grant_type": "authorization_code",
63
+ "redirect_uri": clients[3],
64
  }).
65
  Post(zone.Oauth + "/common/oauth2/v2.0/token")
66
  if err != nil {