mirror of
https://github.com/kubesphere/website.git
synced 2025-12-25 15:32:54 +00:00
update go module policy
Signed-off-by: pixiake <guofeng@yunify.com>
This commit is contained in:
parent
eb7ace8261
commit
ded18d0729
|
|
@ -9,5 +9,3 @@ node_modules
|
|||
.idea
|
||||
/resources
|
||||
|
||||
# Local Netlify folder
|
||||
.netlify
|
||||
|
|
|
|||
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"functions": [
|
||||
{
|
||||
"pattern": "^/[^l][^o][^g].*$",
|
||||
"function": "go-get",
|
||||
"name": "go module"
|
||||
}
|
||||
],
|
||||
"version": 1
|
||||
}
|
||||
|
|
@ -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).*"
|
||||
|
|
|
|||
Loading…
Reference in New Issue