python-eel/Eel

How to protect routes and defining startup page

Open

#563 opened on 2022年2月8日

GitHub で見る
 (0 comments) (0 reactions) (0 assignees)Python (570 forks)batch import
help wanted

Repository metrics

Stars
 (5,980 stars)
PR merge metrics
 (30d に merged PR はありません)

説明

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

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