chore(ops): expose nar-bridge for go get
Change-Id: I9d8f444ed625502cfaeea83e0b330f52dac24118 Reviewed-on: https://cl.tvl.fyi/c/depot/+/9589 Reviewed-by: flokli <flokli@flokli.de> Tested-by: BuildkiteCI
This commit is contained in:
parent
47bc5bb4bc
commit
4797a3fd8a
1 changed files with 10 additions and 0 deletions
|
@ -28,6 +28,16 @@
|
|||
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 = /go-get/tvix/nar-bridge {
|
||||
alias ${pkgs.writeText "go-import-metadata.html" ''<html><meta name="go-import" content="code.tvl.fyi/tvix/nar-bridge git https://code.tvl.fyi/depot.git:/tvix/nar-bridge.git"></html>''};
|
||||
}
|
||||
|
||||
location = /tvix/nar-bridge {
|
||||
if ($args ~* "/?go-get=1") {
|
||||
return 302 /go-get/tvix/nar-bridge;
|
||||
}
|
||||
}
|
||||
|
||||
location = /tvix/castore/protos {
|
||||
if ($args ~* "/?go-get=1") {
|
||||
return 302 /go-get/tvix/castore/protos;
|
||||
|
|
Loading…
Reference in a new issue