Add redir_url config option and enforce admin password to start
This commit is contained in:
parent
e8a5652427
commit
756ebdebd3
2 changed files with 13 additions and 5 deletions
|
@ -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
|
||||
|
|
Reference in a new issue