[REFACTOR] Rename peikarband/peikarband to peikarband/landing to avoid confusion (refactor) | ApprovalToken: AT-202512310808
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
This commit is contained in:
8
peikarband/landing/__init__.py
Normal file
8
peikarband/landing/__init__.py
Normal 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"]
|
||||
@@ -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"]
|
||||
@@ -13,7 +13,7 @@ BACKEND_PORT = int(os.getenv("BACKEND_PORT", "8000"))
|
||||
DB_URL = os.getenv("DATABASE_URL", "sqlite:////app/data/reflex.db")
|
||||
|
||||
config = rx.Config(
|
||||
app_name="peikarband",
|
||||
app_name="landing",
|
||||
api_url=API_URL,
|
||||
frontend_port=FRONTEND_PORT,
|
||||
backend_port=BACKEND_PORT,
|
||||
|
||||
Reference in New Issue
Block a user