Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lnd: Add CORS support to the WalletUnlocker proxy #4551

Merged
merged 1 commit into from
Aug 25, 2020

Conversation

gkrizek
Copy link
Contributor

@gkrizek gkrizek commented Aug 20, 2020

This commit adds the same CORS functionality that's currently in the main gRPC proxy to the WalletUnlocker proxy. This ensures the CORS configuration is carried through all API endpoints.

@cfromknecht cfromknecht added this to the 0.12.0 milestone Aug 20, 2020
Copy link
Contributor

@cfromknecht cfromknecht left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gkrizek thanks for the fix, definitely an oversight. LGTM 💪

@halseth halseth requested a review from guggero August 21, 2020 13:04
Copy link
Collaborator

@guggero guggero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you for the fix 🎉

Just one small nit then this can get merged.

rpcserver.go Outdated Show resolved Hide resolved
This commit adds the same CORS functionality that's currently in the main gRPC proxy to the WalletUnlocker proxy. This ensures the CORS configuration is carried through all API endpoints
@cfromknecht cfromknecht modified the milestones: 0.12.0, 0.11.1 Aug 25, 2020
@guggero guggero merged commit fac3c84 into lightningnetwork:master Aug 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants