diff --git a/src/auth.ts b/src/auth.ts index 95153bad5a..f7396117e4 100644 --- a/src/auth.ts +++ b/src/auth.ts @@ -24,7 +24,7 @@ export function buildViewerCsp(nonce: string): string { "script-src-attr 'none'", "style-src 'unsafe-inline'", "connect-src 'self' http://localhost:* http://127.0.0.1:* ws://localhost:* ws://127.0.0.1:* wss://localhost:* wss://127.0.0.1:*", - "img-src 'self'", + "img-src 'self' data:", "font-src 'self'", ].join("; "); } diff --git a/src/viewer/index.html b/src/viewer/index.html index 551d016c34..accf346cd8 100644 --- a/src/viewer/index.html +++ b/src/viewer/index.html @@ -4,6 +4,7 @@ agentmemory viewer +