4 Commits

Author SHA1 Message Date
53ba8780ff update version code 2023-09-26 13:13:10 +08:00
0dc6d9bc12 solve http login issue 2023-09-26 13:11:38 +08:00
a8165c9b93 Merge remote-tracking branch 'origin/main' 2023-09-26 10:44:12 +08:00
bd83acef45 update readme 2023-09-26 10:44:01 +08:00
3 changed files with 4 additions and 4 deletions

View File

@@ -85,7 +85,7 @@ dashboard_pwd = "admin"
enable = false
```
3. 运行 frps-panel指定监听地址以及 token 存储文件路径。
3. 运行 frps-panel指定配置文件路径。
`./frps-panel -c ./frps-panel.toml`

View File

@@ -12,7 +12,7 @@ import (
"strings"
)
const version = "1.7.0"
const version = "1.7.1"
var (
showVersion bool

View File

@@ -175,9 +175,9 @@ func (s *Server) initHTTPServer() error {
engine := gin.New()
authStore := cookie.NewStore([]byte("frps-panel"))
authStore.Options(sessions.Options{
Secure: true,
Secure: false,
HttpOnly: false,
SameSite: 4,
SameSite: http.SameSiteDefaultMode,
Path: "/",
MaxAge: s.cfg.CommonInfo.AdminKeepTime,
})