mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-01-01 12:41:43 +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)
|
|> delete_session(:redirect_to)
|
||||||
|> redirect(to: redirect_to)
|
|> redirect(to: redirect_to)
|
||||||
else
|
else
|
||||||
redirect(conn, to: "/")
|
redirect(conn, to: ~p"/")
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|> halt()
|
|> halt()
|
||||||
|
|
|
@ -88,7 +88,7 @@ defmodule LivebookWeb.Hub.EditLive do
|
||||||
|
|
||||||
socket
|
socket
|
||||||
|> put_flash(:success, "Hub deleted successfully")
|
|> put_flash(:success, "Hub deleted successfully")
|
||||||
|> push_navigate(to: "/")
|
|> push_navigate(to: ~p"/")
|
||||||
end
|
end
|
||||||
|
|
||||||
{:noreply,
|
{:noreply,
|
||||||
|
|
Loading…
Reference in a new issue