mirror of
https://github.com/gogs/gogs.git
synced 2025-12-20 07:09:58 +01: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