mirror of
https://github.com/tiger1103/gfast.git
synced 2026-09-21 10:12:59 +00:00
12 lines
179 B
Go
12 lines
179 B
Go
package boot
|
|
|
|
import (
|
|
"github.com/gogf/gf/frame/g"
|
|
)
|
|
|
|
func init() {
|
|
g.Server().SetPort(8200)
|
|
g.Server().AddStaticPath("/public", g.Cfg().Get("server.ServerRoot").(string))
|
|
|
|
}
|