Execute GPIO functions on the production server.

This commit is contained in:
Pim Kunis 2019-08-24 16:51:43 +02:00
parent fc54fa1761
commit 66291ac548
4 changed files with 33 additions and 23 deletions

View file

@ -32,7 +32,6 @@ defmodule UiWeb.UserSocket do
def id(_socket), do: nil
def broadcast_progress(progress) do
IO.puts("in user socket!")
UiWeb.Endpoint.broadcast("morse:progress", "update", %{value: progress})
end
end