python-eel/Eel

How to protect routes and defining startup page

オープン

#563 opened on 2022/02/08

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)Python (570 件のフォーク)batch import
help wanted

Repository metrics

Stars
 (5,980 個のスター)
PR merge metrics
 (PR metrics pending)

説明

Hi, I decided to have my login page pass through a python function, then if true it will proceed. However, is there any way to protect the page after login, if the user is not logged in?

Also, is there any way to set the default page when we open "/"?

I understand that eel is built with Bottle, but how do we do Bottle configs from Eel?

Thanks

コントリビューターガイド