Basic file uploading via TwAPI.

This commit is contained in:
Roger Braun 2017-03-29 02:05:51 +02:00
commit e7dc39e40c
10 changed files with 57 additions and 6 deletions

View file

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

View file

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