fix: expose 'Ln-Invoice' header

This commit is contained in:
P. Reis 2024-05-29 09:02:17 -03:00
parent 153c115f24
commit 83020e9111
1 changed files with 1 additions and 1 deletions

View File

@ -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(),