snotes updates, actions, attachments, easy user space
This commit is contained in:
@@ -16,6 +16,9 @@ class Settings(BaseSettings):
|
||||
# SQLite metadata + search index (local disk)
|
||||
database_path: str = "snotes.db"
|
||||
|
||||
# TOML file defining slash "actions" (see snotes.toml)
|
||||
actions_file: str = "snotes.toml"
|
||||
|
||||
# Fixed list of usernames, comma-separated (seeded at startup)
|
||||
users: str = "schmeeve,ilya"
|
||||
|
||||
@@ -29,7 +32,7 @@ class Settings(BaseSettings):
|
||||
secret_key: str = "change-me-in-production"
|
||||
|
||||
# Subnet(s) considered "local" and allowed in without a password
|
||||
lan_cidrs: str = "192.168.1.0/24"
|
||||
lan_cidrs: str = "192.168.1.0/24,127.0.0.1/32,::1/128"
|
||||
|
||||
host: str = "0.0.0.0"
|
||||
port: int = 8000
|
||||
|
||||
Reference in New Issue
Block a user