diff --git a/src/server.ts b/src/server.ts index 19ccbdc..0f05520 100644 --- a/src/server.ts +++ b/src/server.ts @@ -28,7 +28,7 @@ export function createApp(config: AppConfig, stampManager: StampManager): Applic res.set('Access-Control-Allow-Methods', 'GET, POST, OPTIONS') res.set( 'Access-Control-Allow-Headers', - 'Content-Type, Authorization, swarm-postage-batch-id, swarm-postage-stamp, swarm-deferred-upload, swarm-encrypt' + 'Content-Type, Authorization, swarm-postage-batch-id, swarm-postage-stamp, swarm-deferred-upload, swarm-encrypt, swarm-collection' ) if (req.method === 'OPTIONS') {