Skip to content

Commit

Permalink
word
Browse files Browse the repository at this point in the history
  • Loading branch information
tanfarming committed Nov 22, 2023
1 parent 0770598 commit a471b50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ret_web/controllers/page_controller.ex
Original file line number Diff line number Diff line change
Expand Up @@ -743,7 +743,7 @@ defmodule RetWeb.PageController do
def compare_hosts(host1, host2) do
IO.puts("host1: #{host1}, host2: #{host2}")
IO.puts(String.split(host1, ".", parts: -1) |> Enum.slice(0..-2) |> Enum.join("."))
IO.puts(String.split(host2, ".", parts: -1) |> Enum.slice(0..-2) |> Enum.join(".")))
IO.puts(String.split(host2, ".", parts: -1) |> Enum.slice(0..-2) |> Enum.join("."))
host1 == host2 || (List.last(String.split(host2, ".")) == "dev" &&
String.split(host1, ".", parts: -1) |> Enum.slice(0..-2) |> Enum.join(".") ==
String.split(host2, ".", parts: -1) |> Enum.slice(0..-2) |> Enum.join("."))
Expand Down

0 comments on commit a471b50

Please sign in to comment.