daemon mode for server

This commit is contained in:
Maygician 2020-10-05 20:38:23 +07:00
commit 3465ba12fc
2 changed files with 19 additions and 2 deletions

View file

@ -11,9 +11,11 @@ defmodule LpWeb.GitController do
html(conn,"")
end
def oauth(conn, %{"code" => code}) do
#some persistance side effect
# persist(code)
render(conn, "oauth2.html", code: code)
# redirect(conn, "git.html")
html(conn,"")
# html(conn,"")
end
def github(conn, _params) do