Monorepo for Aesthetic.Computer aesthetic.computer
4
fork

Configure Feed

Select the types of activity you want to include in your feed.

oven: expose os-image layout headers to browser

+4
+4
oven/server.mjs
··· 359 359 res.setHeader('Access-Control-Allow-Origin', '*'); 360 360 res.setHeader('Access-Control-Allow-Methods', 'GET, POST, OPTIONS'); 361 361 res.setHeader('Access-Control-Allow-Headers', 'Content-Type, Authorization'); 362 + res.setHeader( 363 + 'Access-Control-Expose-Headers', 364 + 'Content-Length, Content-Disposition, X-AC-OS-Requested-Layout, X-AC-OS-Layout, X-AC-OS-Fallback, X-AC-OS-Fallback-Reason', 365 + ); 362 366 if (req.method === 'OPTIONS') { 363 367 return res.sendStatus(200); 364 368 }