This commit is contained in:
laodaming 2023-10-11 19:13:54 +08:00
parent f65ff33e19
commit edc50a15ec

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()