mirror of
https://github.com/gravitl/netmaker.git
synced 2025-11-01 12:42:42 +08:00
add ci-runner script
This commit is contained in:
@@ -71,7 +71,7 @@ func userMiddleWare(handler http.Handler) http.Handler {
|
||||
if strings.Contains(route, "tags") {
|
||||
r.Header.Set("TARGET_RSRC", models.TagRsrc.String())
|
||||
}
|
||||
if strings.Contains(route, "extclients") {
|
||||
if strings.Contains(route, "extclients") || strings.Contains(route, "client_conf") {
|
||||
r.Header.Set("TARGET_RSRC", models.ExtClientsRsrc.String())
|
||||
}
|
||||
if strings.Contains(route, "enrollment-keys") {
|
||||
|
||||
Reference in New Issue
Block a user