Update: config json path
Some checks failed
Build and Push Docker Image / build (push) Has been cancelled
Some checks failed
Build and Push Docker Image / build (push) Has been cancelled
This commit is contained in:
@@ -12,7 +12,7 @@ type Config struct {
|
||||
}
|
||||
|
||||
func Read() *Config {
|
||||
file, err := os.ReadFile("/home/kocoder/src/go/shortener/settings.json")
|
||||
file, err := os.ReadFile("./settings.json")
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user