mirror of
https://github.com/gogs/gogs.git
synced 2026-05-09 00:46:51 +02:00
Fix random avatar does not work on Windows
path.Dir can't handle Windows case, must use filepath.Dir
This commit is contained in:
path.Dir can't handle Windows case, must use filepath.Dir