Przeglądaj źródła

fix: update api2d's base url (#83)

JustSong 2 lat temu
rodzic
commit
7201bd1c97
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      common/constants.go

+ 1 - 1
common/constants.go

@@ -132,7 +132,7 @@ const (
 var ChannelBaseURLs = []string{
 var ChannelBaseURLs = []string{
 	"",                            // 0
 	"",                            // 0
 	"https://api.openai.com",      // 1
 	"https://api.openai.com",      // 1
-	"https://openai.api2d.net",    // 2
+	"https://oa.api2d.net",        // 2
 	"",                            // 3
 	"",                            // 3
 	"https://api.openai-asia.com", // 4
 	"https://api.openai-asia.com", // 4
 	"https://api.openai-sb.com",   // 5
 	"https://api.openai-sb.com",   // 5