mirror of
https://git.macaw.me/skunky/SkunkyArt.git
synced 2025-04-03 21:17:35 +03:00
v1.3.2
This commit is contained in:
parent
c39399403e
commit
191984b31e
19 changed files with 230 additions and 124 deletions
|
@ -27,10 +27,10 @@ func (s skunkyart) DownloadAndSendMedia(subdomain, path string) {
|
|||
url.WriteString(".wixmp.com/")
|
||||
url.WriteString(path)
|
||||
if t := s.Args.Get("token"); t != "" {
|
||||
url.WriteString("?token=")
|
||||
url.WriteString(t)
|
||||
url.WriteString("?token=")
|
||||
url.WriteString(t)
|
||||
}
|
||||
|
||||
|
||||
var response []byte
|
||||
|
||||
switch {
|
||||
|
@ -127,7 +127,7 @@ func InitCacheSystem() {
|
|||
try(os.RemoveAll(fileName))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if c.MaxSize != 0 && fileInfo.Size() > c.MaxSize {
|
||||
try(os.RemoveAll(fileName))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue