add listener port and ip option for 'pleroma.instance gen' and enable its test

This commit is contained in:
Sachin Joshi 2019-07-10 01:42:41 +05:45
commit 6d0ae264fc
3 changed files with 38 additions and 4 deletions

View file

@ -11,6 +11,7 @@ end %>
config :pleroma, Pleroma.Web.Endpoint,
url: [host: "<%= domain %>", scheme: "https", port: <%= port %>],
http: [ip: {<%= String.replace(listen_ip, ".", ", ") %>}, port: <%= listen_port %>],
secret_key_base: "<%= secret %>",
signing_salt: "<%= signing_salt %>"