From e7dc39e40cde5599f2e1e0dd1715670fd1e76720 Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Wed, 29 Mar 2017 02:05:51 +0200 Subject: Basic file uploading via TwAPI. --- config/config.exs | 1 + config/dev.exs | 1 + 2 files changed, 2 insertions(+) (limited to 'config') diff --git a/config/config.exs b/config/config.exs index bf050197f..2b041b10f 100644 --- a/config/config.exs +++ b/config/config.exs @@ -15,6 +15,7 @@ config :pleroma, Pleroma.Upload, # Configures the endpoint config :pleroma, Pleroma.Web.Endpoint, url: [host: "localhost"], + protocol: "https", secret_key_base: "aK4Abxf29xU9TTDKre9coZPUgevcVCFQJe/5xP/7Lt4BEif6idBIbjupVbOrbKxl", render_errors: [view: Pleroma.Web.ErrorView, accepts: ~w(json)], pubsub: [name: Pleroma.PubSub, diff --git a/config/dev.exs b/config/dev.exs index 78f543720..6adde84a2 100644 --- a/config/dev.exs +++ b/config/dev.exs @@ -8,6 +8,7 @@ use Mix.Config # with brunch.io to recompile .js and .css sources. config :pleroma, Pleroma.Web.Endpoint, http: [port: 4000], + protocol: "http", debug_errors: true, code_reloader: true, check_origin: false, -- cgit v1.2.3