mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-10-10 13:38:09 +08:00
Remove unused env var
This commit is contained in:
parent
331efa04f7
commit
0435b4392b
2 changed files with 1 additions and 9 deletions
|
@ -186,14 +186,6 @@ defmodule Livebook do
|
||||||
config :livebook, :apps_path, apps_path
|
config :livebook, :apps_path, apps_path
|
||||||
end
|
end
|
||||||
|
|
||||||
# TODO: remove in v1.0
|
|
||||||
if System.get_env("LIVEBOOK_APPS_PATH_HUB_ID") do
|
|
||||||
IO.warn(
|
|
||||||
~s/Ignoring LIVEBOOK_APPS_PATH_HUB_ID, this environment variable is no longer used./,
|
|
||||||
[]
|
|
||||||
)
|
|
||||||
end
|
|
||||||
|
|
||||||
if apps_path_password = Livebook.Config.password!("LIVEBOOK_APPS_PATH_PASSWORD") do
|
if apps_path_password = Livebook.Config.password!("LIVEBOOK_APPS_PATH_PASSWORD") do
|
||||||
config :livebook, :apps_path_password, apps_path_password
|
config :livebook, :apps_path_password, apps_path_password
|
||||||
end
|
end
|
||||||
|
|
|
@ -92,7 +92,7 @@ defmodule Livebook.Application do
|
||||||
clear_env_vars()
|
clear_env_vars()
|
||||||
Livebook.Hubs.connect_hubs()
|
Livebook.Hubs.connect_hubs()
|
||||||
|
|
||||||
unless serverless?() do
|
if not serverless?() do
|
||||||
load_apps_dir()
|
load_apps_dir()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue