|
|
|
@ -214,7 +214,6 @@ func setupRouter(adurl string, enableTV bool) *gin.Engine { |
|
|
|
func main() { |
|
|
|
func main() { |
|
|
|
tvEnabled := flag.Bool("tv", true, "Enable TV routes") |
|
|
|
tvEnabled := flag.Bool("tv", true, "Enable TV routes") |
|
|
|
flag.Parse() |
|
|
|
flag.Parse() |
|
|
|
|
|
|
|
|
|
|
|
key := []byte("6354127897263145") |
|
|
|
key := []byte("6354127897263145") |
|
|
|
defstr, _ := base64.StdEncoding.DecodeString("NGrrC9lxtd9O7ezMt3Ux2WfX+HyCyepe9vDuhbSWVa8c+s7oFKbxuExfT4M/e4qvEgsUsvtceDWCYZ5+a7iKCEI/sps5jzGuWJNmsFnaFmQ=") |
|
|
|
defstr, _ := base64.StdEncoding.DecodeString("NGrrC9lxtd9O7ezMt3Ux2WfX+HyCyepe9vDuhbSWVa8c+s7oFKbxuExfT4M/e4qvEgsUsvtceDWCYZ5+a7iKCEI/sps5jzGuWJNmsFnaFmQ=") |
|
|
|
defurl, _ := openssl.AesECBDecrypt(defstr, key, openssl.PKCS7_PADDING) |
|
|
|
defurl, _ := openssl.AesECBDecrypt(defstr, key, openssl.PKCS7_PADDING) |
|
|
|
|