python-eel/Eel

How to protect routes and defining startup page

开放

#563 创建于 2022年2月8日

 (0 条评论) (0 个反应) (0 位负责人)Python (570 个派生)batch import
help wanted

仓库指标

星标
 (5,980 个星标)
PR 合并指标
 (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

贡献者指南