mirror of
https://github.com/documize/community.git
synced 2025-07-23 15:19:42 +02:00
Latest build embed assets
This commit is contained in:
parent
eb57cfbfd6
commit
6e4c5194e2
2 changed files with 668 additions and 665 deletions
|
@ -102,6 +102,9 @@ func (h *Handler) Backup(w http.ResponseWriter, r *http.Request) {
|
|||
|
||||
// Read backup file into memory.
|
||||
// DEBT: write file directly to HTTP response stream?
|
||||
// defer out.Close()
|
||||
// io.Copy(out, resp.Body)
|
||||
|
||||
bk, err := ioutil.ReadFile(filename)
|
||||
if err != nil {
|
||||
response.WriteServerError(w, method, err)
|
||||
|
|
1330
embed/bindata.go
1330
embed/bindata.go
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue