2019-09-30 22:39:11 +00:00
|
|
|
Server:
|
|
|
|
host: 127.0.0.1
|
|
|
|
port: 8000
|
2024-12-18 00:38:31 +00:00
|
|
|
Database:
|
|
|
|
username: foo
|
|
|
|
password: bar
|
|
|
|
#url: "sqlite+pysqlite:///:memory:"
|
|
|
|
url: "sqlite+pysqlite:///shortenit.db"
|
2019-10-13 14:19:32 +00:00
|
|
|
Shortener:
|
|
|
|
# *CAUTION*: Enabling this check if the ID already exists before returning it.
|
|
|
|
# Even though this guarantees that the ID doesn't exist, this might inflict
|
|
|
|
# some performance hit.
|
2019-10-13 14:42:49 +00:00
|
|
|
id_length: 32
|
2024-12-18 00:38:31 +00:00
|
|
|
check_duplicate_id: True
|
|
|
|
id_upper_case: False
|