Add redir_url config option and enforce admin password to start

This commit is contained in:
132ikl 2019-02-24 21:14:51 -05:00
parent e8a5652427
commit 756ebdebd3
2 changed files with 13 additions and 5 deletions

View file

@ -44,9 +44,16 @@ site_name: 'liteshort'
# String: URL shown when finished generating shortlinks. Include the / at the end.
# If not set, it is automatically taken from the URL the shorten request is sent to.
# If you don't know, leave unset
# Default: unset
site_url:
# String: URL to redirect to when link not found. Useful if using a reverse proxy with a subdomain for liteshort
# If not set, it is automatically taken from the base URL
# If you don't know, leave unset
# Default: unset
redir_url:
# Boolean: Show link to project repository on GitHub at bottom right corner of page
# Default: true
show_github_link: true