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

fix(solo): properly expose /wallet/bridge.html #8533

Merged
merged 1 commit into from
Nov 15, 2023
Merged

Conversation

michaelfig
Copy link
Member

Description

Don't send /wallet/index.html when /wallet/bridge.html was requested.

Makes solo wallet compatible with @agoric/web-components again.

Security Considerations

n/a

Scaling Considerations

n/a

Documentation Considerations

n/a

Testing Considerations

Tested manually with fungible faucet

Upgrade Considerations

n/a

@michaelfig michaelfig added wallet solo the solo node (packages/solo) labels Nov 15, 2023
@michaelfig michaelfig requested a review from mhofman November 15, 2023 21:04
@michaelfig michaelfig self-assigned this Nov 15, 2023
);
} else {
app.get('/wallet/bridge.html', (_, res) =>
res.sendFile(path.resolve(soloHtmlDir, 'wallet-bridge.html')),
Copy link
Member

Choose a reason for hiding this comment

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

Why not redirect to wallet-bridge.html ?

Copy link
Member Author

Choose a reason for hiding this comment

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

No redirect because I want /wallet/bridge.html to be canonical.

@michaelfig michaelfig marked this pull request as ready for review November 15, 2023 22:57
@michaelfig michaelfig added the automerge:no-update (expert!) Automatically merge without updates label Nov 15, 2023
@michaelfig michaelfig added automerge:squash Automatically squash merge and removed automerge:no-update (expert!) Automatically merge without updates labels Nov 15, 2023
@mergify mergify bot merged commit e26232e into master Nov 15, 2023
@mergify mergify bot deleted the mfig-getting-started branch November 15, 2023 23:48
@michaelfig michaelfig linked an issue Dec 6, 2023 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge:squash Automatically squash merge solo the solo node (packages/solo) wallet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Solo wallet is broken in current NPM packages
2 participants