This commit is contained in:
Nazar Kanaev
2020-10-20 20:54:05 +01:00
parent b766cb4ac5
commit 6a63d49823
7 changed files with 21 additions and 21 deletions

View File

@@ -2,9 +2,9 @@ package server
import (
"bytes"
"encoding/json"
"encoding/base64"
"compress/gzip"
"encoding/base64"
"encoding/json"
"fmt"
"github.com/nkanaev/yarr/storage"
"html"
@@ -43,7 +43,7 @@ var routes []Route = []Route{
type asset struct {
etag string
body string // base64(gzip(content))
body string // base64(gzip(content))
gzipped *[]byte
decoded *string
}