daemon mode for server
This commit is contained in:
parent
3a475208b2
commit
3465ba12fc
2 changed files with 19 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Reference in a new issue