Compare commits

...

3 Commits

Author SHA1 Message Date
951de989af fix: remove unnecessary double message 2025-06-07 22:07:38 +02:00
c5cf253a15 feat: log error when failing to put object 2025-06-07 22:07:28 +02:00
d70032e36d feat: copy redis.conf 2025-06-07 22:07:16 +02:00
3 changed files with 3 additions and 1 deletions

View File

@ -26,6 +26,8 @@ RUN apt-get update && apt-get install -y ca-certificates && rm -rf /var/lib/apt/
COPY --from=backend-builder /app/bin/hspguard .
COPY --from=frontend-builder /app/dist ./dist
COPY redis.conf /config/redis.conf
# Optional: copy default .env file if used
# COPY .env .env

View File

@ -166,6 +166,7 @@ func (h *UserHandler) uploadAvatar(w http.ResponseWriter, r *http.Request) {
ContentType: header.Header.Get("Content-Type"),
})
if err != nil {
log.Println("ERR: Failed to put object:", err)
web.Error(w, "failed to upload image", http.StatusInternalServerError)
return
}

View File

@ -131,7 +131,6 @@ const AuthorizePage: FC = () => {
<div className="flex flex-row items-center justify-between text-gray-600 dark:text-gray-400">
<div className="flex flex-row items-center gap-4">
<div className="w-3 h-3 rounded-full bg-blue-500"></div>
<p>View your full name, email and profile image</p>
<p>
{scope === "openid" &&
"Access your account id and use it"}