Merge branch 'fix-get-ln-invoice-header' into 'main'

CORS - Expose 'Ln-Invoice' header

See merge request soapbox-pub/ditto!330
This commit is contained in:
Alex Gleason 2024-05-29 12:13:53 +00:00
commit b805c4c67e
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ app.get('/relay', relayController);
app.use(
'*',
cspMiddleware(),
cors({ origin: '*', exposeHeaders: ['link'] }),
cors({ origin: '*', exposeHeaders: ['link', 'Ln-Invoice'] }),
signerMiddleware,
uploaderMiddleware,
auth98Middleware(),