signal-desktop/ts/util/openLinkInWebBrowser.ts

7 lines
173 B
TypeScript
Raw Normal View History

2021-09-21 20:45:25 +00:00
// Copyright 2021 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
export function openLinkInWebBrowser(url: string): void {
window.location.href = url;
}