[REFACTOR] Rename peikarband/peikarband to peikarband/landing to avoid confusion (refactor) | ApprovalToken: AT-202512310808
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Ehsan.Asadi
2025-12-31 08:08:08 +03:30
parent afd7183e31
commit 79b10e21d9
3 changed files with 9 additions and 9 deletions

View File

@@ -0,0 +1,8 @@
"""Landing page app module.
Reflex expects to find 'app' in peikarband.landing when app_name='landing'.
"""
from peikarband.app import app
__all__ = ["app"]

View File

@@ -1,8 +0,0 @@
"""Peikarband submodule for Reflex compatibility.
Reflex expects to find 'app' in peikarband.peikarband when app_name='peikarband'.
"""
from app.peikarband import app
__all__ = ["app"]

View File

@@ -13,7 +13,7 @@ BACKEND_PORT = int(os.getenv("BACKEND_PORT", "8000"))
DB_URL = os.getenv("DATABASE_URL", "sqlite:////app/data/reflex.db") DB_URL = os.getenv("DATABASE_URL", "sqlite:////app/data/reflex.db")
config = rx.Config( config = rx.Config(
app_name="peikarband", app_name="landing",
api_url=API_URL, api_url=API_URL,
frontend_port=FRONTEND_PORT, frontend_port=FRONTEND_PORT,
backend_port=BACKEND_PORT, backend_port=BACKEND_PORT,