Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
qiuqunfeng
waf-console
Commits
0f861042
Commit
0f861042
authored
Feb 08, 2025
by
qiuqunfeng
Browse files
commit
parent
5f8fb56d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
api/router.go
api/router.go
+1
-1
No files found.
api/router.go
View file @
0f861042
...
...
@@ -61,7 +61,7 @@ func SetRouters(db *gorm.DB, clusterClientManager *utils.ClusterClientManager) *
// },
// // BearerToken: "1234567890",
// })
SetWafRouter
(
engine
,
cl
ient
,
db
)
SetWafRouter
(
engine
,
cl
usterClientManager
,
db
)
// 统一处理 404
engine
.
NoRoute
(
func
(
c
*
gin
.
Context
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment