shortenit/config/config.yaml
Elia el Lazkani 6800c90936 chore(#5): Migration to SQLAlchemy
* Introduces models to map objects in the database
* Refactoring and cleanup of old code
* Updates configuration file
* Updates README.md
* Updates .gitignore
2024-12-18 01:38:31 +01:00

15 lines
422 B
YAML

Server:
host: 127.0.0.1
port: 8000
Database:
username: foo
password: bar
#url: "sqlite+pysqlite:///:memory:"
url: "sqlite+pysqlite:///shortenit.db"
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.
id_length: 32
check_duplicate_id: True
id_upper_case: False