Skip to content

Commit

Permalink
feat: Update link URL format
Browse files Browse the repository at this point in the history
  • Loading branch information
ikurotime committed Jan 8, 2024
1 parent 3a5231d commit 138915d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/link_routes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ async fn add_link(
//return html

Ok(format!(
"<div class=\"p-2 text-green-900 animate-in bg-green-300 border-2 border-green-600\">Your link: <a href=\"http://localhost:3001/{}\" target=\"_blank\">http://localhost:3001/{}</a></div>",
"<div class=\"p-2 text-green-900 animate-in bg-green-300 border-2 border-green-600\">Your link: <a href=\"https://lurl.es/{}\" target=\"_blank\">http://lurl.es/{}</a></div>",
link.short_url, link.short_url
))
}
Expand Down

0 comments on commit 138915d

Please sign in to comment.