getting user; mod: avatar, profileBg, profile now working
This commit is contained in:
@@ -32,16 +32,17 @@ func main() {
|
||||
http.HandleFunc("/new/connection", withCORS(httpRequest.HandleUserNewConnection))
|
||||
http.HandleFunc("/new/token", withCORS(httpRequest.HandleUserNewToken))
|
||||
http.HandleFunc("/new/file", withCORS(httpRequest.HandleAttachmentFileUpload))
|
||||
http.HandleFunc("/mod/user/appearence", withCORS(httpRequest.HandleUserModProfile))
|
||||
http.HandleFunc("/mod/user/profile", withCORS(httpRequest.HandleUserModProfile))
|
||||
http.HandleFunc("/mod/user/avatar", withCORS(httpRequest.HandleUserModAvatar))
|
||||
http.HandleFunc("/mod/user/profilebg", withCORS(httpRequest.HandleUserModProfileBg))
|
||||
http.HandleFunc("/mod/user/about", withCORS(httpRequest.HandleUserModProfile))
|
||||
http.HandleFunc("/mod/connection/accept", withCORS(httpRequest.HandleUserElevateConnection))
|
||||
http.HandleFunc("/mod/connection/elevate", withCORS(httpRequest.HandleUserElevateConnection))
|
||||
|
||||
http.HandleFunc("/get/user", withCORS(httpRequest.HandleUserGetUser))
|
||||
http.HandleFunc("/get/connections", withCORS(httpRequest.HandleUserGetConnections))
|
||||
http.HandleFunc("/get/connection/messages", withCORS(httpRequest.HandleUserGetConnectionMessages))
|
||||
http.HandleFunc("/get/file", withCORS(httpRequest.HandleAttachmentFileDownload))
|
||||
http.HandleFunc("/get/user/avatar", withCORS(httpRequest.HandleGetUserAvatar))
|
||||
http.HandleFunc("/get/user/profilebg", withCORS(httpRequest.HandleGetUserProfileBg))
|
||||
|
||||
http.HandleFunc("/del/user", withCORS(httpRequest.HandleUserDelete))
|
||||
http.HandleFunc("/del/connection", withCORS(httpRequest.HandleUserDeleteConnection))
|
||||
|
||||
Reference in New Issue
Block a user