chore(ops/modules/www/code.tvl.fyi): add missing go get redirect
This was missing in cl/9370. Change-Id: I02048b0e65d1192e9e300160bb8f78fe30a70da1 Reviewed-on: https://cl.tvl.fyi/c/depot/+/9405 Autosubmit: flokli <flokli@flokli.de> Reviewed-by: Connor Brewster <cbrewster@hey.com> Reviewed-by: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
This commit is contained in:
parent
80a02f96ce
commit
2aa0c70245
1 changed files with 6 additions and 0 deletions
|
@ -28,6 +28,12 @@
|
|||
alias ${pkgs.writeText "go-import-metadata.html" ''<html><meta name="go-import" content="code.tvl.fyi/tvix/store/protos git https://code.tvl.fyi/depot.git:/tvix/store/protos.git"></html>''};
|
||||
}
|
||||
|
||||
location = /tvix/castore/protos {
|
||||
if ($args ~* "/?go-get=1") {
|
||||
return 302 /go-get/tvix/castore/protos;
|
||||
}
|
||||
}
|
||||
|
||||
location = /tvix/store/protos {
|
||||
if ($args ~* "/?go-get=1") {
|
||||
return 302 /go-get/tvix/store/protos;
|
||||
|
|
Loading…
Reference in a new issue