summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorlambda <pleromagit@rogerbraun.net>2018-08-15 07:47:33 +0000
committerlambda <pleromagit@rogerbraun.net>2018-08-15 07:47:33 +0000
commit9908cf8fda7d47f23456033cd8c77126d14c81ab (patch)
treefdd27456f8d222ef849a26f005ad48f8b0b1251d /config
parent8c0c93004127f58d1d4f8b3458de66830c30ad29 (diff)
parentf72cfada1ad5cf7ca398ceddf4f70b3b192310ca (diff)
downloadpleroma-9908cf8fda7d47f23456033cd8c77126d14c81ab.tar.gz
pleroma-9908cf8fda7d47f23456033cd8c77126d14c81ab.zip
Merge branch 'feature/suggestions-api-with-third-party-recommendation-engine' into 'develop'
Feature / Suggestions API with third party recommendation engine See merge request pleroma/pleroma!254
Diffstat (limited to 'config')
-rw-r--r--config/config.exs7
1 files changed, 7 insertions, 0 deletions
diff --git a/config/config.exs b/config/config.exs
index 3a7301348..ee30969e8 100644
--- a/config/config.exs
+++ b/config/config.exs
@@ -111,6 +111,13 @@ config :pleroma, :gopher,
ip: {0, 0, 0, 0},
port: 9999
+config :pleroma, :suggestions,
+ enabled: false,
+ third_party_engine:
+ "http://vinayaka.distsn.org/cgi-bin/vinayaka-user-match-suggestions-api.cgi?{{host}}+{{user}}",
+ timeout: 300_000,
+ web: "https://vinayaka.distsn.org/?{{host}}+{{user}}"
+
# Import environment specific config. This must remain at the bottom
# of this file so it overrides the configuration defined above.
import_config "#{Mix.env()}.exs"