fix: use path rather than uri for go imports

Signed-off-by: jolheiser <john.olheiser@gmail.com>
teamcity
jolheiser 2024-05-23 20:49:32 -05:00
parent dc9244482f
commit f969cd4ad0
Signed by: jolheiser
GPG Key ID: B853ADA5DA7BBF7A
1 changed files with 3 additions and 3 deletions

View File

@ -36,10 +36,10 @@
extraConfig = ''
header Content-Type text/html
respond /* `<html><head>
<meta name="go-import" content="go.jolheiser.com{uri} git https://git.jojodev.com/jolheiser{uri}.git">
<meta http-equiv="refresh" content="3; url=https://pkg.go.dev/go.jolheiser.com{uri}" />
<meta name="go-import" content="go.jolheiser.com{path} git https://git.jojodev.com/jolheiser{path}.git">
<meta http-equiv="refresh" content="3; url=https://pkg.go.dev/go.jolheiser.com{path}" />
</head><body>
Redirecting to <a href="https://pkg.go.dev/go.jolheiser.com{uri}">https://pkg.go.dev/go.jolheiser.com{uri}</a>
Redirecting to <a href="https://pkg.go.dev/go.jolheiser.com{path}">https://pkg.go.dev/go.jolheiser.com{path}</a>
</body></html>`
'';
};