🎨 Remove todo

This commit is contained in:
Daniel 2023-12-27 21:11:27 +08:00
parent 8c225d1f0c
commit eff537e216
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -80,11 +80,6 @@ func Serve(fastMode bool) {
serveRepoDiff(ginServer)
api.ServeAPI(ginServer)
// TODO 升级后结束旧内核进程
//if !fastMode && "prod" == util.Mode && util.ContainerStd == util.Container {
// killRunningKernel()
//}
var host string
if model.Conf.System.NetworkServe || util.ContainerDocker == util.Container {
host = "0.0.0.0"