use default child_specs

This commit is contained in:
stwf 2019-08-14 11:55:17 -04:00
commit 51bdf0cab6
13 changed files with 73 additions and 143 deletions

View file

@ -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)