Skip to content

Commit 167c174

Browse files
committed
docs: redirect to pkg.go.dev
1 parent 6cee5de commit 167c174

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

docs/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<html>
22
<head>
33
<meta name="go-import" content="go.bytecodealliance.org git https://github.com/bytecodealliance/go-modules" />
4+
<script src="/redirect.js"></script>
45
</head>
56
</html>

docs/redirect.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
window.location = `https://pkg.go.dev/${window.location.hostname}${window.location.pathname}`

0 commit comments

Comments
 (0)