Initial import

This commit is contained in:
Lucas 2023-02-18 09:49:05 +00:00
commit 1ff831f80d
19 changed files with 956 additions and 0 deletions

View file

@ -0,0 +1,22 @@
# configuration file for development environment
# the logger engine to use
# console: log messages to STDOUT (your console where you started the
# application server)
# file: log message to a file in log/
logger: "console"
# the log level for this environment
# core is the lowest, it shows Dancer2's core log messages as well as yours
# (debug, info, warning and error)
log: "core"
# should Dancer2 show a stacktrace when an 5xx error is caught?
# if set to yes, public/500.html will be ignored and either
# views/500.tt, 'error_template' template, or a default error template will be used.
show_errors: 1
# print the banner
startup_info: 1
poorbooru_api: "http://localhost:8080/api/v0"

View file

@ -0,0 +1,13 @@
# configuration file for production environment
# only log warning and error messsages
log: "warning"
# log message to a file in logs/
logger: "file"
# hide errors
show_errors: 0
# disable server tokens in production environments
no_server_tokens: 1