footer to pass img type in request

This commit is contained in:
Antoni Sawicki 2019-11-03 17:03:00 -08:00
parent 91091cf94b
commit 02766d8844
1 changed files with 2 additions and 2 deletions

4
wrp.go
View File

@ -130,8 +130,8 @@ func (w wrpReq) printPage(out http.ResponseWriter, bgcolor string) {
}
func (w wrpReq) printFooter(out http.ResponseWriter) {
fmt.Fprintf(out, "\n<P><FONT SIZE=\"-2\"><A HREF=\"/?url=https://github.com/tenox7/wrp/&w=%d&h=%d&s=%1.2f&c=%d\">"+
"Web Rendering Proxy Version %s</A> | <A HREF=\"/shutdown/\">Shutdown WRP</A></FONT></BODY>\n</HTML>\n", w.W, w.H, w.S, w.C, version)
fmt.Fprintf(out, "\n<P><FONT SIZE=\"-2\"><A HREF=\"/?url=https://github.com/tenox7/wrp/&w=%d&h=%d&s=%1.2f&c=%d&t=%s\">"+
"Web Rendering Proxy Version %s</A> | <A HREF=\"/shutdown/\">Shutdown WRP</A></FONT></BODY>\n</HTML>\n", w.W, w.H, w.S, w.C, w.T, version)
}
func pageServer(out http.ResponseWriter, req *http.Request) {