From 51cd108bad53e855e0ded5ec6f563925f4d924ca Mon Sep 17 00:00:00 2001 From: Antoni Sawicki Date: Sun, 3 Nov 2019 17:53:20 -0800 Subject: [PATCH] scale is now a dropdown --- wrp.go | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/wrp.go b/wrp.go index 0a0ed0e..0e7681b 100644 --- a/wrp.go +++ b/wrp.go @@ -94,6 +94,7 @@ func (w *wrpReq) parseForm(req *http.Request) { } func (w wrpReq) printPage(out http.ResponseWriter, bgcolor string) { + var s string out.Header().Set("Cache-Control", "max-age=0") out.Header().Set("Expires", "-1") out.Header().Set("Pragma", "no-cache") @@ -106,9 +107,17 @@ func (w wrpReq) printPage(out http.ResponseWriter, bgcolor string) { fmt.Fprintf(out, "\n") fmt.Fprintf(out, "W \n", w.W) fmt.Fprintf(out, "H \n", w.H) - fmt.Fprintf(out, "S \n", w.S) + fmt.Fprintf(out, "S \n") fmt.Fprintf(out, "T