mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-17 06:29:56 +02:00
fixed startup crash for file provider
This commit is contained in:
@@ -23,7 +23,6 @@ import (
|
||||
R "github.com/yusing/go-proxy/route"
|
||||
"github.com/yusing/go-proxy/server"
|
||||
F "github.com/yusing/go-proxy/utils/functional"
|
||||
W "github.com/yusing/go-proxy/watcher"
|
||||
)
|
||||
|
||||
func main() {
|
||||
@@ -92,7 +91,6 @@ func main() {
|
||||
l.Warn(err)
|
||||
}
|
||||
|
||||
W.InitFileWatcherHelper()
|
||||
cfg.WatchChanges()
|
||||
|
||||
onShutdown.Add(docker.CloseAllClients)
|
||||
|
||||
Reference in New Issue
Block a user