WIP: Use available instance static file paths
Description
Currently, the set of paths that the Pleroma Phoenix app allows for front-end paths from static folders is hard-coded.
This change allows this set of paths to be amended with the contents of the instance/static
folder if enabled. This allows builds of alternative Pleroma front-ends to include file and folder paths that differ from the default set of files.
With this change, Pleroma can be launched with the extra environment variable USE_INSTANCE_STATIC_FILES=1
to enable this new feature. It can also be enabled by setting the [:pleroma, :use_instance_static_files]
config setting to true
.
Edited by feld