Skip to content

Commit

Permalink
fix hardcoded base_url in PostsPath::compose_reply_url
Browse files Browse the repository at this point in the history
  • Loading branch information
delan committed Oct 5, 2024
1 parent 40ded79 commit d6951fc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/path.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,8 @@ impl PostsPath {
pub fn compose_reply_url(&self) -> String {
// references_url is already urlencoded
format!(
"http://[::1]:8420/posts/compose?reply_to={}",
"http://[::1]:8420{}compose?reply_to={}",
SETTINGS.base_url,
self.references_url()
)
}
Expand Down

0 comments on commit d6951fc

Please sign in to comment.