diff options
| author | Julian Hurst <ark@mansus.space> | 2023-01-20 00:46:23 +0100 |
|---|---|---|
| committer | Julian Hurst <ark@mansus.space> | 2023-01-20 00:46:23 +0100 |
| commit | 9b3e906a0ab6592eda40ae043bfff26ca07fe80d (patch) | |
| tree | 44773c0a039902f6451ed2cf44f5587572b0f83f /imgs.go | |
| parent | de64b0433c42306c4d6d55a926e53d64f96ec51c (diff) | |
| download | docspace-9b3e906a0ab6592eda40ae043bfff26ca07fe80d.tar.gz | |
Multisession shitmulti
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) |
