Merge pull request #4 from cloudreve/master

1
This commit is contained in:
Lones 2020-06-01 22:28:08 +08:00 committed by GitHub
commit f781ca682f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 6 deletions

View file

@ -1,8 +1,7 @@
language: go
go:
- 1.13.x
node_js:
- 12.16.3
node_js: "12.16.3"
git:
depth: 1
install:

2
assets

@ -1 +1 @@
Subproject commit 54f4e608bd4a91ef5ed81b2f8e5778f4bf8632c5
Subproject commit 1450cf140b88e4c9a01197f5504cc3c95fecd748

View file

@ -1,13 +1,13 @@
package conf
// BackendVersion 当前后端版本号
var BackendVersion = "3.1.0"
var BackendVersion = "3.1.1"
// RequiredDBVersion 与当前版本匹配的数据库版本
var RequiredDBVersion = "3.1.0"
// RequiredStaticVersion 与当前版本匹配的静态资源版本
var RequiredStaticVersion = "3.1.0"
var RequiredStaticVersion = "3.1.1"
// IsPro 是否为Pro版本
var IsPro = "false"

View file

@ -271,7 +271,7 @@ func (handler Driver) Source(
return "", err
}
fileKey, err := url.Parse(path)
fileKey, err := url.Parse(url.PathEscape(path))
if err != nil {
return "", err
}