fix: img-src annotation changes with zui move to vite (#3539)

https://github.com/project-zot/zui/pull/484

zui is moving to vite framework but there are some changes in the
img-src annotations which must be allowed/accounted for in zot backend.

Signed-off-by: Ramkumar Chinchani <rchincha.dev@gmail.com>
This commit is contained in:
Ramkumar Chinchani
2025-11-15 15:16:22 -08:00
committed by GitHub
parent a039260ed4
commit 1d0eadc013
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ CRICTL_VERSION := v1.26.1
ACTION_VALIDATOR := $(TOOLSDIR)/bin/action-validator
ACTION_VALIDATOR_VERSION := v0.5.3
ZUI_BUILD_PATH := ""
ZUI_VERSION := commit-731b639
ZUI_VERSION := commit-7e08b6f
ZUI_REPO_OWNER := project-zot
ZUI_REPO_NAME := zui
SWAGGER_VERSION := v1.16.2
+1 -1
View File
@@ -50,7 +50,7 @@ func addUISecurityHeaders(h http.Handler) http.HandlerFunc { //nolint:varnamelen
"style-src 'self' 'unsafe-inline'",
"font-src 'self'",
"connect-src 'self'",
"img-src 'self'",
"img-src 'self' data:",
"manifest-src 'self'",
"base-uri 'self'",
}