mirror of
https://github.com/algora-io/tv.git
synced 2025-03-17 20:17:45 +02:00
update admin helpers
This commit is contained in:
parent
4988ba7a8d
commit
7ddca7b819
@ -10,6 +10,8 @@ defmodule Algora.Admin do
|
||||
video: "g3cFdmlkZW8.m3u8"
|
||||
}
|
||||
|
||||
def whoami(), do: {System.get_env("FLY_REGION"), Node.self()}
|
||||
|
||||
defp get(url) do
|
||||
Finch.build(:get, url) |> Finch.request(Algora.Finch)
|
||||
end
|
||||
@ -142,8 +144,7 @@ defmodule Algora.Admin do
|
||||
"/data"
|
||||
|
||||
_ ->
|
||||
"/home/zaf/Downloads"
|
||||
# _ -> System.tmp_dir!()
|
||||
System.tmp_dir!()
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user