mirror of
https://github.com/dreamstarsky/runbin.git
synced 2026-05-15 14:23:07 +00:00
fix worker.yaml path
This commit is contained in:
@@ -8,7 +8,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
cfg := config.LoadWorker("/home/xkm/project/runbin/config/worker.yaml")
|
||||
cfg := config.LoadWorker("config/worker.yaml")
|
||||
|
||||
// Initialize storage
|
||||
var store repository.PasteRepository
|
||||
@@ -28,4 +28,4 @@ func main() {
|
||||
|
||||
work := worker.NewWorker(store, cfg)
|
||||
work.Run()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user