更新包地址
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ import (
|
||||
"errors"
|
||||
"fmt"
|
||||
|
||||
"github.com/alireza0/s-ui/logger"
|
||||
"github.com/admin8800/s-ui/logger"
|
||||
)
|
||||
|
||||
func NewErrorf(format string, a ...interface{}) error {
|
||||
|
||||
+2
-2
@@ -7,8 +7,8 @@ import (
|
||||
"net/url"
|
||||
"strings"
|
||||
|
||||
"github.com/alireza0/s-ui/database/model"
|
||||
"github.com/alireza0/s-ui/util/common"
|
||||
"github.com/admin8800/s-ui/database/model"
|
||||
"github.com/admin8800/s-ui/util/common"
|
||||
)
|
||||
|
||||
var InboundTypeWithLink = []string{"socks", "http", "mixed", "shadowsocks", "naive", "hysteria", "hysteria2", "anytls", "tuic", "vless", "trojan", "vmess"}
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@ import (
|
||||
"strconv"
|
||||
"strings"
|
||||
|
||||
"github.com/alireza0/s-ui/util/common"
|
||||
"github.com/admin8800/s-ui/util/common"
|
||||
)
|
||||
|
||||
func GetOutbound(uri string, i int) (*map[string]interface{}, string, error) {
|
||||
|
||||
+2
-2
@@ -3,9 +3,9 @@ package util
|
||||
import (
|
||||
"encoding/json"
|
||||
|
||||
"github.com/alireza0/s-ui/util/common"
|
||||
"github.com/admin8800/s-ui/util/common"
|
||||
|
||||
"github.com/alireza0/s-ui/database/model"
|
||||
"github.com/admin8800/s-ui/database/model"
|
||||
)
|
||||
|
||||
// Fill Inbound's out_json
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@ package util
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/alireza0/s-ui/database/model"
|
||||
"github.com/admin8800/s-ui/database/model"
|
||||
)
|
||||
|
||||
func GetHeaders(client *model.Client, updateInterval int) []string {
|
||||
|
||||
+2
-2
@@ -7,8 +7,8 @@ import (
|
||||
"net/http"
|
||||
"strings"
|
||||
|
||||
"github.com/alireza0/s-ui/logger"
|
||||
"github.com/alireza0/s-ui/util/common"
|
||||
"github.com/admin8800/s-ui/logger"
|
||||
"github.com/admin8800/s-ui/util/common"
|
||||
)
|
||||
|
||||
func GetExternalLink(url string) string {
|
||||
|
||||
Reference in New Issue
Block a user