Initial commit
This commit is contained in:
commit
0e35933ee3
19 files changed
+3217
No files matched your search
Whitespace-only changes.
@@ -0,0 +1,16 @@
|
||||
from pydantic_settings import BaseSettings
|
||||
|
||||
|
||||
class Settings(BaseSettings):
|
||||
R2_ENDPOINT: str
|
||||
R2_ACCESS_KEY: str
|
||||
R2_SECRET_KEY: str
|
||||
R2_BUCKET: str
|
||||
PUBLIC_URL: str
|
||||
UPLOAD_PASSWORD: str
|
||||
|
||||
class Config:
|
||||
env_file = ".env"
|
||||
|
||||
|
||||
settings = Settings()
|
||||
Reference in new issue
Block a user