Skip to content

Commit 030f263

Browse files
author
xl1870011370
committed
ignore report log
1 parent f2caeac commit 030f263

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,15 @@ MacBook-Pro root$ ./server
4949
2023-05-01 13:48:58 INFO socket/ws.go:27 server/socket.(*Manager).Start websocket manage start
5050
```
5151

52+
以后台进程启动
53+
```shell
54+
nohup ./server >/dev/null 2>&1 &
55+
```
56+
5257
## 访问
5358

54-
+ 访问 `https://localhost:8088/rasp-admin` (浏览器信任证书)
59+
+ 访问 `http://localhost:8088/rasp-admin`
5560
+ 账号和密码: admin 123456
5661

5762
## 替换证书(非必须)
58-
63+
默认启动方式为非http方式,可以更新ssl证书并开启ssl功能

server/middleware/OperationLogMiddleware.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
// 操作日志channel
1414
var OperationLogChan = make(chan *model.OperationLog, 30)
1515

16-
var SkipRecordPath = []string{"/", "", "/webmini.svg", "/favicon.ico", "/static/*filepath"}
16+
var SkipRecordPath = []string{"/base/report", "/", "", "/webmini.svg", "/favicon.ico", "/static/*filepath"}
1717

1818
func OperationLogMiddleware() gin.HandlerFunc {
1919
return func(c *gin.Context) {

0 commit comments

Comments
 (0)