revert random change (#3292)

This commit is contained in:
fatedier authored and GitHub committed 2023-02-06 15:55:33 +08:00
1 parent 100148d925
commit 113e3b0b0d
2 files changed
+8

No files matched your search

+5
View File
@@ -15,6 +15,9 @@
package main
import (
"math/rand"
"time"
"github.com/fatedier/golib/crypto"
_ "github.com/fatedier/frp/assets/frps"
@@ -23,6 +26,8 @@ import (
func main() {
crypto.DefaultSalt = "frp"
// TODO: remove this when we drop support for go1.19
rand.Seed(time.Now().UnixNano())
Execute()
}