-
QuestionI used nginx reverse proxy nicegui, and I have a GUI that cannot use page functions, but I need to set a password for this GUI. What should I do? |
Beta Was this translation helpful? Give feedback.
Answered by
rodja
Feb 6, 2025
Replies: 1 comment 7 replies
-
Is that really true? You can also share state between pages.
You could configure nginx with basic authentication. |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In general when programming: if you want an object exist longer than the function call, you should create it outside of it. In your case the
start_task
creates a newCountdownTimer
object for every time someone accesses the page. Here a short example on how I would approach a global countdown UI: