当scheme为空时写入默认的scheme
This commit is contained in:
parent
b990d7856f
commit
94b98b04de
|
@ -73,5 +73,8 @@ func GetConfig() Config {
|
||||||
if config.ShowBrowser {
|
if config.ShowBrowser {
|
||||||
log.Infoln("浏览器无头模式已禁用")
|
log.Infoln("浏览器无头模式已禁用")
|
||||||
}
|
}
|
||||||
|
if config.Scheme == "" {
|
||||||
|
config.Scheme = "https://johlanse.github.io/study_xxqg/scheme.html?"
|
||||||
|
}
|
||||||
return config
|
return config
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue