Skip to content

Commit

Permalink
Fix ip parse
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismccord committed Feb 22, 2024
1 parent 090b0ed commit 3a03d21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/flame/fly_backend.ex
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ defmodule FLAME.FlyBackend do
@impl true
def init(opts) do
conf = Application.get_env(:flame, __MODULE__) || []
[node_base | ip] = node() |> to_string() |> String.split("@")
[node_base, ip] = node() |> to_string() |> String.split("@")

default = %FlyBackend{
app: System.get_env("FLY_APP_NAME"),
Expand Down

0 comments on commit 3a03d21

Please sign in to comment.