Skip to content

Commit

Permalink
Prueba: State
Browse files Browse the repository at this point in the history
  • Loading branch information
mouredev committed Feb 23, 2024
1 parent 5f87ed3 commit 9b60986
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions link_bio/link_bio/state/PageState.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ class PageState(rx.State):

async def check_live(self):
self.live_status = await live(USER)
if not self.live_status.live:
self.next_live = utils.next_date(await schedule())
# if not self.live_status.live:
# self.next_live = utils.next_date(await schedule())

async def featured_links(self):
self.featured_info = await featured()
2 changes: 1 addition & 1 deletion link_bio/remote_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ pip install --upgrade pip
pip install -r requirements.txt
rm -rf public
reflex init
reflex export --frontend-only
API_URL=https://api.moure.dev reflex export --frontend-only
unzip frontend.zip -d public
rm -f frontend.zip
deactivate
1 change: 0 additions & 1 deletion link_bio/rxconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

config = rx.Config(
app_name="link_bio",
api_url="https://api.moure.dev",
cors_allowed_origins=[
"http://localhost:3000",
"https://moure.dev"
Expand Down

0 comments on commit 9b60986

Please sign in to comment.