Skip to content
This repository has been archived by the owner on Dec 27, 2023. It is now read-only.

Commit

Permalink
Fix no config read
Browse files Browse the repository at this point in the history
  • Loading branch information
MajliTech committed May 18, 2023
1 parent bb2c4aa commit ec97316
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bin/clouddns.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ fn main() {
let client = Client::new();
println!("{} is starting...", "ClouDDNS".yellow());
println!("{}", "Trying to read the config...".blue());
let config_file_result = fs::read_to_string("clouddns.json");
let config_file_result = fs::read_to_string("/etc/clouddns.json");
let config_file = match config_file_result {
Ok(config_file) => config_file,
Err(_error) => {
Expand Down

0 comments on commit ec97316

Please sign in to comment.