python-eel/Eel

How to protect routes and defining startup page

Open

#563 创建于 2022年2月8日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)Python (570 fork)batch import
help wanted

仓库指标

Star
 (5,980 star)
PR 合并指标
 (30 天内没有已合并 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

贡献者指南