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: local only unless remote is enabled(default) #438

Merged
merged 6 commits into from
Sep 11, 2024
Merged

Conversation

SgtPooki
Copy link
Member

  • tmp: testing dynamic import
  • chore: temporarily disable delegated routing
  • fix: getHashersForCodes handles errors gracefully
  • fix: revert version, other minor changes

@SgtPooki SgtPooki requested a review from a team as a code owner September 11, 2024 16:34
Copy link
Member Author

@SgtPooki SgtPooki left a comment

Choose a reason for hiding this comment

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

self review

Comment on lines +17 to +25
const hashers: SupportedHashers[] = []
for (const code of codes) {
try {
hashers.push(await getHasherForCode(code))
} catch (error) {
console.error(`Failed to get hasher for code ${code}: ${error}`)
}
}
return hashers
Copy link
Member Author

Choose a reason for hiding this comment

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

fixes an issue where trying to import a non-existent hasher would throw and break webui

src/lib/init-helia.ts Outdated Show resolved Hide resolved
src/lib/init-helia.ts Outdated Show resolved Hide resolved
Copy link
Member Author

@SgtPooki SgtPooki left a comment

Choose a reason for hiding this comment

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

self review of changes

@SgtPooki SgtPooki changed the title fix: local only unless remote is enabled fix: local only unless remote is enabled(default) Sep 11, 2024
@SgtPooki SgtPooki merged commit 3b87aea into master Sep 11, 2024
16 checks passed
@SgtPooki SgtPooki deleted the fix/webui-ci branch September 11, 2024 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant