1
0
mirror of https://github.com/aquatix/digimarks.git synced 2025-12-07 04:55:10 +01:00

Configure for server

This commit is contained in:
2025-05-07 16:47:27 +02:00
parent 0f7e280bb3
commit faae900b06
2 changed files with 7 additions and 4 deletions

View File

@@ -30,15 +30,15 @@ DEFAULT_THEME = 'freshgreen'
class Settings(BaseSettings):
"""Configuration needed for digimarks to find its database, favicons, API integrations."""
# database_file: FilePath = './bookmarks.db'
# outside the codebase
database_file: FilePath
media_dir: DirectoryPath
media_url: str = '/static/'
favicons_dir: DirectoryPath
# inside the codebase
static_dir: DirectoryPath = 'static'
template_dir: DirectoryPath = 'templates'
mashape_api_key: str
media_url: str = '/static/'
system_key: str