Skip to content

Commit 7d4aac3

Browse files
committed
2 parents 9669e13 + 8fa8a4d commit 7d4aac3

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

index.html

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,12 @@
77
<meta name="description" content="Backend Software Engineer portfolio focused on automation, API integrations, and scalable backend systems with Python, Node.js, SQL, AWS, and ETL workflows." />
88
<meta name="google-site-verification" content="6gMtjXC8QaMe105oQFC7f7_0FKxgBr8R65-kOtoSSfE" />
99
<script>
10-
const host = window.location.hostname.toLowerCase();
11-
if (host === "pklavc.github.io" || host === "www.pklavc.com") {
12-
window.location.replace("https://pklavc.com" + window.location.pathname + window.location.search + window.location.hash);
10+
const { hostname, pathname, search, hash } = window.location;
11+
const host = hostname.toLowerCase();
12+
const redirectHosts = ["pklavc.github.io", "www.pklavc.com"];
13+
14+
if (redirectHosts.includes(host)) {
15+
window.location.replace("https://pklavc.com" + pathname + search + hash);
1316
}
1417
</script>
1518
<meta property="og:title" content="Patrick Araujo | Backend Software Engineer">

0 commit comments

Comments
 (0)