Improve FAQ & video rendering, tighten homepage and CSS
This commit is contained in:
parent
05a1f316e1
commit
c69bb0d614
48 changed files with 4689 additions and 1077 deletions
|
|
@ -139,7 +139,11 @@ pub async fn get_short_url(
|
|||
|
||||
match params {
|
||||
Some(params) => {
|
||||
let redirect_url = format!("/dashboard?{params}");
|
||||
let redirect_url = if params.is_empty() {
|
||||
format!("/dashboard?share={code}")
|
||||
} else {
|
||||
format!("/dashboard?{params}&share={code}")
|
||||
};
|
||||
let og_image_url = format!("{}/api/screenshot?og=1&{params}", state.public_url);
|
||||
let og_url = format!("{}/s/{code}", state.public_url);
|
||||
let og_title = "Perfect Postcode | Every neighbourhood in England";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue