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
1 changed files with 7 additions and 1 deletions

View File

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