Compare commits

..

2 Commits

Author SHA1 Message Date
4a0136c9a3 Add .env example 2023-11-01 16:35:11 +01:00
8b7b009941 Make upload only to be default by default 2023-11-01 16:33:42 +01:00
3 changed files with 3 additions and 1 deletions

1
.env.example Normal file
View File

@ -0,0 +1 @@
UPLOAD_ONLY=1 # Enable upload only for the instance

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
__pycache__
upload
env
.env

View File

@ -11,7 +11,7 @@ from pydantic_settings import BaseSettings, SettingsConfigDict
# Settings
class Settings(BaseSettings):
upload_only: bool = True
upload_only: bool = False
model_config = SettingsConfigDict(env_file=".env")