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.
This commit is contained in:
parent
3879500c87
commit
b1860fe85a
7 changed files with 107 additions and 3 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
|
@ -8,7 +8,9 @@
|
|||
/.elixir_ls
|
||||
/test/fixtures/test_tmp.txt
|
||||
/test/fixtures/image_tmp.jpg
|
||||
/test/tmp/
|
||||
/doc
|
||||
/instance
|
||||
|
||||
# Prevent committing custom emojis
|
||||
/priv/static/emoji/custom/*
|
||||
|
|
@ -31,4 +33,4 @@ erl_crash.dump
|
|||
.env
|
||||
|
||||
# Editor config
|
||||
/.vscode
|
||||
/.vscode/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue