- Change WIKI_API_URL in .env.example and config to point to the new API endpoint. - Set COOKIE_SECURE to false for local development in .env.example and config. - Improve the newsletter generation logic to handle new and edited articles separately. - Add display options for showing date, user, and category in the newsletter output. - Enhance error handling for Wiki API requests and update templates for better user feedback. - Update CSS for new UI elements and improve overall layout in dashboard and login pages.
16 lines
566 B
Plaintext
16 lines
566 B
Plaintext
APP_NAME=TK Wiki Newsletter Admin
|
|
ENVIRONMENT=production
|
|
SECRET_KEY=PLEASE_CHANGE_TO_A_LONG_RANDOM_SECRET
|
|
ALGORITHM=HS256
|
|
ACCESS_TOKEN_EXPIRE_MINUTES=120
|
|
HOST_PORT=8080
|
|
DATABASE_URL=sqlite:///./data/newsletter.db
|
|
# Beispiel PostgreSQL:
|
|
# DATABASE_URL=postgresql+psycopg://newsletter:newsletter@postgres:5432/newsletter
|
|
WIKI_API_URL=https://www.thomas-krenn.com/de/wikiDE/api.php
|
|
ALLOWED_HOSTS=*
|
|
COOKIE_SECURE=false
|
|
# Auf true setzen, wenn hinter HTTPS/TLS-Terminierung (Reverse Proxy)
|
|
ADMIN_BOOTSTRAP_EMAIL=admin@internal.local
|
|
ADMIN_BOOTSTRAP_PASSWORD=ChangeMe123!
|