Compare commits

...
1 Commits
Author SHA1 Message Date
19904408334 791c9905df fix: 修正回调地址生成方式 2026-06-22 11:26:49 +08:00
+2 -1
View File
@@ -583,7 +583,8 @@ func GetLocalBaseURL(ctx context.Context) string {
// GetCallbackURL 获取回调地址(完整 URL)
func GetCallbackURL(ctx context.Context, path string) string {
baseURL := GetLocalBaseURL(ctx)
//baseURL := GetLocalBaseURL(ctx)
baseURL := "http://" + GetLocalAddress(ctx)
// 确保 path 以 / 开头
if !strings.HasPrefix(path, "/") {
path = "/" + path