Enable smart sizing

Smart sizing removes, in clients that support it, the scroll bars.
This commit is contained in:
bolkedebruin 2021-03-18 08:33:46 +01:00 committed by GitHub
parent 3919a7e055
commit 34df6599cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -213,7 +213,8 @@ func (c *Config) HandleDownload(w http.ResponseWriter, r *http.Request) {
"connection type:i:"+strconv.Itoa(c.ConnectionType)+"\r\n"+
"username:s:"+render+"\r\n"+
"domain:s:"+domain+"\r\n"+
"bitmapcachesize:i:32000\r\n"
"bitmapcachesize:i:32000\r\n"+
"smart sizing:i:1\r\n"
http.ServeContent(w, r, fn, time.Now(), strings.NewReader(data))
}