diff --git a/config.py b/config.py index c3bf996..659e8d1 100644 --- a/config.py +++ b/config.py @@ -13,5 +13,6 @@ FETCH_INTERVAL_HOURS = 1 IMAGE_MAX_LANDSCAPE = (800, 480) IMAGE_MAX_PORTRAIT = (480, 800) +COVER_SIZE = (480, 800) -POLLINATIONS_URL = "https://image.pollinations.ai/prompt/{prompt}?width=800&height=480&nologo=true" +POLLINATIONS_URL = "https://image.pollinations.ai/prompt/{prompt}?width=480&height=800&nologo=true" diff --git a/src/models.py b/src/models.py index a2a5c0e..95de4f8 100644 --- a/src/models.py +++ b/src/models.py @@ -48,6 +48,7 @@ class Issue(db.Model): db.DateTime, nullable=False, default=lambda: datetime.now(timezone.utc) ) status = db.Column(db.Text, nullable=False, default="draft") + issue_type = db.Column(db.Text, nullable=False, default="weekly") class Setting(db.Model):