mirror of
https://github.com/cs01/termpair.git
synced 2026-04-26 21:15:55 +03:00
[PR #40] [MERGED] Ensure error message is printed to browser's terminal if site is not served in a secure context #58
Labels
No labels
good first issue
help wanted
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/termpair#58
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/cs01/termpair/pull/40
Author: @cs01
Created: 6/2/2021
Status: ✅ Merged
Merged: 6/2/2021
Merged by: @cs01
Base:
master← Head:cs01/add-error-message-insecure-connection📝 Commits (1)
0954270Ensure error message is printed to browser's terminal if site is not served in a secure context📊 Changes
3 files changed (+15 additions, -8 deletions)
View changed files
📝
CHANGELOG.md(+3 -0)📝
termpair/frontend_src/src/App.js(+11 -7)📝
termpair/main.py(+1 -1)📄 Description
The logic to display the error message had a bug. This PR fixes the bug and prints a red message in the terminal if the browser is not running in a secure context where
window.cryptois unavailable.See https://developer.mozilla.org/en-US/docs/Web/API/Window/crypto.fixes #39
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.