1
0
mirror of https://github.com/bitwarden/browser synced 2026-01-08 11:33:28 +00:00

Make vault URL check more concise (#2361)

This commit is contained in:
Anton
2022-02-14 02:33:58 +01:00
committed by GitHub
parent fb850875c0
commit c6926614b8

View File

@@ -2,7 +2,7 @@ import AddLoginRuntimeMessage from "src/background/models/addLoginRuntimeMessage
import ChangePasswordRuntimeMessage from "src/background/models/changePasswordRuntimeMessage";
document.addEventListener("DOMContentLoaded", (event) => {
if (window.location.hostname.indexOf("vault.bitwarden.com") > -1) {
if (window.location.hostname.endsWith("vault.bitwarden.com")) {
return;
}