mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-02-24 14:58:35 +08:00
Clarify session secrets warning for apps
This commit is contained in:
parent
e24fa1e17c
commit
65c491374f
2 changed files with 2 additions and 2 deletions
|
@ -31,7 +31,7 @@ defmodule LivebookWeb.SessionLive.AppInfoComponent do
|
|||
<.message_box
|
||||
:if={@any_session_secrets?}
|
||||
kind={:warning}
|
||||
message="You defined session secrets, but those are not available to the deployed app, only Hub secrets are."
|
||||
message="The notebook uses session secrets, but those are not available to deployed apps. Convert them to Hub secrets instead."
|
||||
/>
|
||||
<div class="flex space-x-2">
|
||||
<button
|
||||
|
|
|
@ -2166,7 +2166,7 @@ defmodule LivebookWeb.SessionLiveTest do
|
|||
{:ok, view, _} = live(conn, ~p"/sessions/#{session.id}")
|
||||
|
||||
assert render(view) =~
|
||||
"You defined session secrets, but those are not available to the deployed app, only Hub secrets are."
|
||||
"The notebook uses session secrets, but those are not available to deployed apps. Convert them to Hub secrets instead."
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue