in cmd/redirector/main.go [103:145]
func showRedirectForm(w http.ResponseWriter, r *http.Request) {
fmt.Fprintf(w, `<!DOCTYPE html>
<html>
<head>
<title>Cloud Run Button</title>
<style>
html {
font-family: '-apple-system','BlinkMacSystemFont','segoe ui',Roboto,'helvetica neue',Arial, sans-serif, 'apple color emoji', 'segoe ui emoji', 'segoe ui symbol';
}
body {
margin: 0;
}
html, input {
font-size: 120%%;
}
.container {
margin: 5em auto;
max-width: 768px;
}
</style>
</head>
<body>
<div class="container">
<h1>You’re almost there!</h1>
<p>
Unfortunately with the new Chrome 85, GitHub temporarily breaks our
ability to determine which GitHub repository you came from. (You can
<a href="https://github.community/t/chrome-85-breaks-referer/130039"
rel="nofolow">help us ask GitHub</a> to fix it!)
</p>
<p>
Please provide the URL of the previous page you came from:
</p>
<form action="/" method="POST">
<input type="text" name="url" placeholder="https://github.com/..."
size="32"/>
<input type="hidden" name="orig_query" value="%s"/>
<input type="submit" value="Deploy!"/>
</form>
</div>
</body>
</html>`, r.URL.Query().Encode())
}