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:
commit
b805c4c67e
|
@ -129,7 +129,7 @@ app.get('/relay', relayController);
|
||||||
app.use(
|
app.use(
|
||||||
'*',
|
'*',
|
||||||
cspMiddleware(),
|
cspMiddleware(),
|
||||||
cors({ origin: '*', exposeHeaders: ['link'] }),
|
cors({ origin: '*', exposeHeaders: ['link', 'Ln-Invoice'] }),
|
||||||
signerMiddleware,
|
signerMiddleware,
|
||||||
uploaderMiddleware,
|
uploaderMiddleware,
|
||||||
auth98Middleware(),
|
auth98Middleware(),
|
||||||
|
|
Loading…
Reference in New Issue