Instance/Static runtime plug
authorhref <href@random.sh>
Mon, 17 Dec 2018 21:50:59 +0000 (22:50 +0100)
committerhref <href@random.sh>
Mon, 17 Dec 2018 21:50:59 +0000 (22:50 +0100)
commitb1860fe85af1d32de937f466ba65d03614952e31
tree9b1239247d38a2aaa60627fc9bd4db44ed67d136
parent3879500c87829a5cf1377ca7ccdb7bf92c75367f
Instance/Static runtime plug

This allows to set-up an arbitrary directory which overrides most of the
static files: index.html static/ emoji/ packs/ sounds/ images/ instance/
favicon.png.

If the files are not present in the directory, the bundled ones in
priv/static will be used.
.gitignore
config/config.exs
lib/pleroma/plugs/instance_static.ex [new file with mode: 0644]
lib/pleroma/web/endpoint.ex
lib/pleroma/web/ostatus/ostatus_controller.ex
lib/pleroma/web/router.ex
test/plugs/instance_static_test.exs [new file with mode: 0644]