mirror of
https://github.com/yhl452493373/frps-panel.git
synced 2026-04-04 06:16:59 +08:00
Compare commits
4 Commits
b18d06d83d
...
1.7.1
| Author | SHA1 | Date | |
|---|---|---|---|
| 53ba8780ff | |||
| 0dc6d9bc12 | |||
| a8165c9b93 | |||
| bd83acef45 |
@@ -85,7 +85,7 @@ dashboard_pwd = "admin"
|
||||
enable = false
|
||||
```
|
||||
|
||||
3. 运行 frps-panel,指定监听地址以及 token 存储文件路径。
|
||||
3. 运行 frps-panel,指定配置文件路径。
|
||||
|
||||
`./frps-panel -c ./frps-panel.toml`
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ import (
|
||||
"strings"
|
||||
)
|
||||
|
||||
const version = "1.7.0"
|
||||
const version = "1.7.1"
|
||||
|
||||
var (
|
||||
showVersion bool
|
||||
|
||||
@@ -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,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user