shortenit/config/config.yaml
Elia El Lazkani 71a4ad4a65 Migrated the ID generation system for security reasons.
We have a new ID generator. This should make it hard to
guess other user's IDs. This is configurable.
2019-10-13 16:19:32 +02:00

13 lines
No EOL
350 B
YAML

Server:
host: 127.0.0.1
port: 8000
CouchDB:
username: root
password: root
url: http://localhost:5984
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.
check_duplicate_id: False
id_length: 32