修复scheme无法启用的问题

This commit is contained in:
johlanse 2022-04-15 13:07:17 +08:00
parent 4d2269b799
commit 56f40d4338
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ func (c *Core) L() (*model.User, error) {
qrCodeString := qrcodeTerminal.New2(qrcodeTerminal.ConsoleColors.BrightBlack, qrcodeTerminal.ConsoleColors.BrightWhite, qrcodeTerminal.QRCodeRecoveryLevels.Low).Get(codeURL)
qrCodeString.Print()
c.Push("text", "https://johlanse.github.io/study_xxqg/scheme.html?"+url.QueryEscape(codeURL))
c.Push("text", config.Scheme+url.QueryEscape(codeURL))
checkQrCode := func() (bool, string) {
res := new(checkQrCodeResp)
_, err := client.R().SetResult(res).SetFormData(map[string]string{