mirror of
https://github.com/tenox7/wrp.git
synced 2024-11-25 13:30:51 +00:00
footer to pass img type in request
This commit is contained in:
parent
91091cf94b
commit
02766d8844
4
wrp.go
4
wrp.go
@ -130,8 +130,8 @@ func (w wrpReq) printPage(out http.ResponseWriter, bgcolor string) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (w wrpReq) printFooter(out http.ResponseWriter) {
|
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\">"+
|
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, version)
|
"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) {
|
func pageServer(out http.ResponseWriter, req *http.Request) {
|
||||||
|
Loading…
Reference in New Issue
Block a user