mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-08 07:50:28 +08:00
修复非gcc下编译错误
This commit is contained in:
13
internal/web/helpers/utils_none_gcc.go
Normal file
13
internal/web/helpers/utils_none_gcc.go
Normal file
@@ -0,0 +1,13 @@
|
||||
// Copyright 2024 GoEdge CDN goedge.cdn@gmail.com. All rights reserved. Official site: https://goedge.cn .
|
||||
//go:build !gcc
|
||||
|
||||
package helpers
|
||||
|
||||
import (
|
||||
"net/http"
|
||||
)
|
||||
|
||||
// filter request
|
||||
func safeFilterRequest(req *http.Request) bool {
|
||||
return true
|
||||
}
|
||||
Reference in New Issue
Block a user