Skip to content

Commit

Permalink
fix incorrect construction of og:url
Browse files Browse the repository at this point in the history
  • Loading branch information
nikochiko committed Oct 26, 2023
1 parent 840d924 commit b91b1d2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion routers/root.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,9 @@ def st_page(


def get_og_url_path(request) -> str:
return str(furl(settings.APP_BASE_URL) / request.url.full_path)
return str(
(furl(settings.APP_BASE_URL) / request.url.path).add(request.query_params)
)


def get_run_user(request, uid) -> AppUser | None:
Expand Down

0 comments on commit b91b1d2

Please sign in to comment.