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:
Florian Klink 2023-09-22 16:11:53 +03:00 committed by flokli
parent 80a02f96ce
commit 2aa0c70245

View file

@ -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;