Skip to content

Commit

Permalink
Enable smart sizing
Browse files Browse the repository at this point in the history
Smart sizing removes, in clients that support it, the scroll bars.
  • Loading branch information
bolkedebruin authored Mar 18, 2021
1 parent 3919a7e commit 34df659
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api/web.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
}

0 comments on commit 34df659

Please sign in to comment.