Skip to content

Commit

Permalink
docs: redirect to pkg.go.dev
Browse files Browse the repository at this point in the history
  • Loading branch information
ydnar committed Nov 6, 2024
1 parent 6cee5de commit 167c174
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<html>
<head>
<meta name="go-import" content="go.bytecodealliance.org git https://github.com/bytecodealliance/go-modules" />
<script src="/redirect.js"></script>
</head>
</html>
1 change: 1 addition & 0 deletions docs/redirect.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
window.location = `https://pkg.go.dev/${window.location.hostname}${window.location.pathname}`

0 comments on commit 167c174

Please sign in to comment.