Skip to content

A modern, self-hosted backup solution for secure, encrypted backups across local and cloud storage.

chore: fixes missing images in Upgrade Modal due to CSP

towfiqi66b5295cef48
diff --git a/backend/src/createApp.ts b/backend/src/createApp.ts
index 001360b..8cb05ad 100644
--- a/backend/src/createApp.ts
+++ b/backend/src/createApp.ts
@@ -192,7 +192,7 @@ export async function createApp(): Promise<{ app: Express }> {
defaultSrc: ["'self'"],
scriptSrc: ["'self'", "'unsafe-inline'"],
styleSrc: ["'self'", "'unsafe-inline'"],
- imgSrc: ["'self'", 'data:', 'blob:'],
+ imgSrc: ["'self'", 'data:', 'blob:', 'https://pluton.b-cdn.net'],
fontSrc: ["'self'", 'data:'],
connectSrc,
frameAncestors: ["'none'"],