🐛 刷新token与跨域问题

This commit is contained in:
微凉
2020-12-24 20:25:40 +08:00
parent 070b6294cb
commit 17f8c4ae1c
5 changed files with 11 additions and 9 deletions

View File

@ -2,8 +2,6 @@ package bootstrap
import (
"github.com/Xhofe/alist/alidrive"
"github.com/Xhofe/alist/conf"
"github.com/Xhofe/alist/utils"
"github.com/robfig/cron/v3"
log "github.com/sirupsen/logrus"
)
@ -12,7 +10,6 @@ var Cron *cron.Cron
func refreshToken() {
alidrive.RefreshToken()
utils.WriteToYml(conf.Con,conf.Conf)
}
func InitCron() {