Basic panel functions added to backend

This commit is contained in:
Jesse Malotaux 2025-04-11 13:52:59 +02:00
parent 8ba7689c39
commit 6767f77fcf
3 changed files with 85 additions and 20 deletions

View file

@ -82,6 +82,8 @@ func decryptAuth(r *http.Request) string {
return ""
}
log.Println("data", req.Data)
deviceKey, errKey := GetKeyByUuid(req.Uuid)
decryptData, errDec := DecryptAES(deviceKey, req.Data)