mirror of
https://github.com/livebook-dev/livebook.git
synced 2024-12-29 19:20:46 +08:00
Fix auth redirect with specific base url path (#2516)
This commit is contained in:
parent
ccc69cbc3c
commit
2756606f5c
2 changed files with 2 additions and 2 deletions
|
@ -65,7 +65,7 @@ defmodule LivebookWeb.AuthController do
|
|||
|> delete_session(:redirect_to)
|
||||
|> redirect(to: redirect_to)
|
||||
else
|
||||
redirect(conn, to: "/")
|
||||
redirect(conn, to: ~p"/")
|
||||
end
|
||||
end)
|
||||
|> halt()
|
||||
|
|
|
@ -88,7 +88,7 @@ defmodule LivebookWeb.Hub.EditLive do
|
|||
|
||||
socket
|
||||
|> put_flash(:success, "Hub deleted successfully")
|
||||
|> push_navigate(to: "/")
|
||||
|> push_navigate(to: ~p"/")
|
||||
end
|
||||
|
||||
{:noreply,
|
||||
|
|
Loading…
Reference in a new issue