]> 127.0.0.1 Git - front/.git/commitdiff
1 v0.1.20240321080741
authorqydysky <qydysky@foxmail.com>
Thu, 21 Mar 2024 08:05:23 +0000 (16:05 +0800)
committerqydysky <qydysky@foxmail.com>
Thu, 21 Mar 2024 08:05:23 +0000 (16:05 +0800)
config.go

index 3e4dd6f41cd401e3751e63905d36ac39c62ad343..4abf61aafe3ca7bc012be6c131d4c59f3602a132 100755 (executable)
--- a/config.go
+++ b/config.go
@@ -7,7 +7,6 @@ import (
        "fmt"
        "net"
        "net/http"
-       "os"
        "strings"
        "sync"
        "time"
@@ -168,7 +167,6 @@ func (t *Config) SwapSign(ctx context.Context, logger Logger) {
                                        w.WriteHeader(http.StatusForbidden)
                                } else if errors.Is(e, ErrAllBacksFail) {
                                        w.WriteHeader(http.StatusBadGateway)
-                                       os.Exit(0)
                                } else {
                                        t.routeP.GetConn(r).Close()
                                }