Skip to content

Commit

Permalink
chore again
Browse files Browse the repository at this point in the history
  • Loading branch information
kenichiLyon committed Dec 25, 2024
1 parent 133f89a commit 2bdfe84
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dice/platform_adapter_lagrange_helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,7 @@ servers:
// 在构建时注入
// var defaultNTSignServer = `https://lwxmagic.sealdice.com/api/sign`
// var lagrangeNTSignServer = "https://sign.lagrangecore.org/api/sign"
// var newproxyyNTSignServer = "https://seal.sign.lorana-aurelia.tech/api/sign/"

// 此处添加内置sign地址及对应标识字符串
var signServers = map[string]string{
Expand All @@ -440,6 +441,8 @@ var signServers = map[string]string{
func GenerateLagrangeConfig(port int, signServerUrl string, signServerVersion string, info *EndPointInfo) string {
if signServerUrl == "" {
signServerUrl = "sealdice"
} else if signServerUrl != "sealdice" && signServerUrl != "newProxy" {
signServerUrl = "newProxy"
}
if url, exists := signServers[signServerUrl]; exists {
signServerUrl = url
Expand Down

0 comments on commit 2bdfe84

Please sign in to comment.