diff --git a/tools/whitewind.py b/tools/whitewind.py index ad6950e..ad98eb1 100644 --- a/tools/whitewind.py +++ b/tools/whitewind.py @@ -101,7 +101,7 @@ def create_whitewind_blog_post(title: str, content: str, subtitle: Optional[str] if post_uri: rkey = post_uri.split("/")[-1] # Construct the Whitewind blog URL - blog_url = f"https://whtwnd.com/{handle}/entries/{rkey}" + blog_url = f"https://whtwnd.com/{handle}/{rkey}" else: blog_url = "URL generation failed" @@ -121,4 +121,4 @@ def create_whitewind_blog_post(title: str, content: str, subtitle: Optional[str] return "\n".join(success_parts) except Exception as e: - raise Exception(f"Error creating Whitewind blog post: {str(e)}") \ No newline at end of file + raise Exception(f"Error creating Whitewind blog post: {str(e)}")