feat: add disable exec flag (#1090)

This commit is contained in:
Keagan McClelland 2020-10-01 08:45:24 -06:00 committed by GitHub
parent 1529e796df
commit 97693cc611
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 53 additions and 28 deletions

View file

@ -41,6 +41,7 @@ func handleWithStaticData(w http.ResponseWriter, _ *http.Request, d *data, box *
"Theme": d.settings.Branding.Theme,
"EnableThumbs": d.server.EnableThumbnails,
"ResizePreview": d.server.ResizePreview,
"EnableExec": d.server.EnableExec,
}
if d.settings.Branding.Files != "" {