add cors headers to /api/lnwith route (#359)

This commit is contained in:
Will O'Beirne 2023-07-19 16:09:03 -05:00 committed by GitHub
parent 253d75b438
commit 9b57bbcda3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -70,7 +70,13 @@ module.exports = withPlausibleProxy()({
headers: [ headers: [
...corsHeaders ...corsHeaders
] ]
} },
{
source: '/api/lnwith',
headers: [
...corsHeaders
]
},
] ]
}, },
async rewrites () { async rewrites () {