update go module policy

Signed-off-by: pixiake <guofeng@yunify.com>
This commit is contained in:
pixiake 2022-12-27 15:27:15 +08:00
parent eb7ace8261
commit ded18d0729
4 changed files with 11 additions and 6 deletions

2
.gitignore vendored
View File

@ -9,5 +9,3 @@ node_modules
.idea
/resources
# Local Netlify folder
.netlify

View File

@ -0,0 +1,10 @@
{
"functions": [
{
"pattern": "^/[^l][^o][^g].*$",
"function": "go-get",
"name": "go module"
}
],
"version": 1
}

View File

@ -32,7 +32,7 @@
from = "/log/*"
to = "https://log.kubesphere.io/:splat"
status = 308
force = true
force = true
[[redirects]]
from = "/tr/forum/*"
@ -46,6 +46,3 @@
status = 200
force = true
[[edge_functions]]
function = "go-get"
path = "/^(?!log|forum).*"