diff options
Diffstat (limited to 'imgs.go')
| -rw-r--r-- | imgs.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -26,7 +26,7 @@ func imgs(w http.ResponseWriter, r *http.Request) { sendError(w, r, err.Error(), http.StatusInternalServerError) return } - userDocPath := filepath.Join(baseDocDir, u.User) + userDocPath := filepath.Join(baseDocDir, u.Username) err = os.Mkdir(userDocPath, 0750) if err != nil && !os.IsExist(err) { sendError(w, r, err.Error(), http.StatusInternalServerError) |
