This commit is contained in:
laodaming 2023-10-12 11:27:16 +08:00
parent 88ea78d67b
commit 96c866f1d4

View File

@ -24,7 +24,6 @@ func main() {
var c config.Config
fsconfig.StartNacosConfig(*configFile, &c, nil)
c.Port = 9960
server := rest.MustNewServer(c.RestConf, rest.WithCustomCors(auth.FsCors, func(w http.ResponseWriter) {
}))
defer server.Stop()