Fix random avatar does not work on Windows
path.Dir can't handle Windows case, must use filepath.Dir
This commit is contained in:
parent
1c74612b3c
commit
5a27aea8e0
3 changed files with 3 additions and 4 deletions
2
gogs.go
2
gogs.go
|
@ -17,7 +17,7 @@ import (
|
|||
"github.com/gogits/gogs/modules/setting"
|
||||
)
|
||||
|
||||
const APP_VER = "0.8.27.0201"
|
||||
const APP_VER = "0.8.27.0202"
|
||||
|
||||
func init() {
|
||||
runtime.GOMAXPROCS(runtime.NumCPU())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue