mirror of
https://github.com/aykhans/gopkg-proxy.git
synced 2026-01-14 03:01:21 +00:00
add favicon
This commit is contained in:
2
main.go
2
main.go
@@ -165,6 +165,7 @@ const vanityTemplate = `<!DOCTYPE html>
|
|||||||
const redirectTemplate = `<!DOCTYPE html>
|
const redirectTemplate = `<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
|
<link rel="icon" href="https://pkg.go.dev/static/shared/icon/favicon.ico">
|
||||||
<meta http-equiv="refresh" content="0; url=https://pkg.go.dev/{{.Domain}}{{.Path}}">
|
<meta http-equiv="refresh" content="0; url=https://pkg.go.dev/{{.Domain}}{{.Path}}">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
@@ -176,6 +177,7 @@ const homeTemplate = `<!DOCTYPE html>
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
|
<link rel="icon" href="https://pkg.go.dev/static/shared/icon/favicon.ico">
|
||||||
<title>Go Packages - {{.Domain}}</title>
|
<title>Go Packages - {{.Domain}}</title>
|
||||||
<style>
|
<style>
|
||||||
body {
|
body {
|
||||||
|
|||||||
Reference in New Issue
Block a user