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
07c304c3
Commit
07c304c3
authored
Feb 08, 2025
by
qiuqunfeng
Browse files
commit
parent
2964b4c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
api/waf.go
api/waf.go
+1
-1
No files found.
api/waf.go
View file @
07c304c3
...
...
@@ -11,7 +11,7 @@ func SetWafRouter(e *gin.Engine, client *versioned.Clientset, db *gorm.DB) {
v1
:=
e
.
Group
(
"v1/api"
)
wafController
:=
controller
.
NewWafController
(
client
,
db
)
v1
.
GET
(
"waf/:gateway_name"
,
wafController
.
Waf
)
v1
.
GET
(
"waf/:
region_code/:namespace/:
gateway_name"
,
wafController
.
Waf
)
v1
.
POST
(
"waf"
,
wafController
.
CreateWaf
)
v1
.
PUT
(
"mode"
,
wafController
.
UpdateMode
)
v1
.
POST
(
"debug/savecatagory"
,
wafController
.
SaveRuleCategoryToDB
)
...
...
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