mirror of
https://github.com/ehang-io/nps.git
synced 2026-11-01 17:30:20 +08:00
Code optimization
This commit is contained in:
1 parent
efa341c7e8
commit
b189fb1b6e
260 files changed
+50746
-851
No files matched your search
@@ -7,7 +7,7 @@ import (
|
||||
|
||||
var ports []int
|
||||
|
||||
func init() {
|
||||
func InitAllowPort() {
|
||||
p := beego.AppConfig.String("allow_ports")
|
||||
ports = common.GetPorts(p)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user