Skip to content

Commit

Permalink
Update porkbun base url to new hostname
Browse files Browse the repository at this point in the history
Porkbun will be removing support for API requests sent to `porkbun.com`
and all requests should be sent through `api.porkbun.com`
  • Loading branch information
nickbabcock committed Oct 12, 2024
1 parent a643a78 commit dd825d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ fn dynu_base_url() -> String {
}

fn porkbun_base_url() -> String {
String::from("https://porkbun.com/api/json/v3")
String::from("https://api.porkbun.com/api/json/v3")
}

pub fn parse_config<P: AsRef<Path>>(path: P) -> Result<DnsConfig, ConfigError> {
Expand Down

2 comments on commit dd825d0

@sbell8-chwy
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That was quick. I just got the email and was coming to update this, and you already had it done.
Nice.

@nickbabcock
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, np, I just pushed the new version if you want to give it a whirl

Please sign in to comment.