diff options
Diffstat (limited to 'internal/server/server.go')
-rw-r--r-- | internal/server/server.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/server/server.go b/internal/server/server.go index 76fbecb..db93092 100644 --- a/internal/server/server.go +++ b/internal/server/server.go @@ -183,7 +183,7 @@ func New(runtimeConfig *Config) (*Server, error) { }) var nixosOptions = options.NixOptions{} - jsonFile, err := os.ReadFile(path.Join("data", "test.json")) + jsonFile, err := os.ReadFile(path.Join(config.DataPath, "test.json")) if err != nil { slog.Error(fmt.Sprintf("error reading json file: %v", err)) } |