use default child_specs
This commit is contained in:
parent
4a5b0965a0
commit
51bdf0cab6
13 changed files with 73 additions and 143 deletions
|
|
@ -6,7 +6,7 @@ defmodule Pleroma.Gopher.Server do
|
|||
use GenServer
|
||||
require Logger
|
||||
|
||||
def start_link do
|
||||
def start_link(_) do
|
||||
config = Pleroma.Config.get(:gopher, [])
|
||||
ip = Keyword.get(config, :ip, {0, 0, 0, 0})
|
||||
port = Keyword.get(config, :port, 1234)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue