diff options
| author | Russ Cox <rsc@golang.org> | 2021-11-18 10:52:22 -0500 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2021-11-22 16:43:11 +0000 |
| commit | 9d77df7a831fbde9ba62c77c9cd5dc3dd6f6a1c7 (patch) | |
| tree | 0b0d223d328c6000819f10db1221fc19d9971ca5 /_content/doc/tutorial/create-module.html | |
| parent | e77adb1f30f2761cc0e025c1f313b64ffe36a05e (diff) | |
| download | go-x-website-9d77df7a831fbde9ba62c77c9cd5dc3dd6f6a1c7.tar.xz | |
_content: replace scheme-relative URLs with https://
The time for scheme-relative URLs has passed.
go.dev, like all of .dev, is an HTTPS-only domain.
And golang.org has set HSTS headers for years too.
So these relative links are always going to be https:// on the internet.
When serving from http://localhost, they turn into http://,
which is never what we want.
So rewrite them all to hard-code https://.
Change-Id: I1c25108910a12f2974b8f6ba86d49d0b697516a4
Reviewed-on: https://go-review.googlesource.com/c/website/+/365099
Trust: Russ Cox <rsc@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Diffstat (limited to '_content/doc/tutorial/create-module.html')
0 files changed, 0 insertions, 0 deletions
