File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 < meta name ="author " content ="PkLavc " />
77 < meta name ="google-site-verification " content ="6gMtjXC8QaMe105oQFC7f7_0FKxgBr8R65-kOtoSSfE " />
88 < script >
9- const host = window . location . hostname . toLowerCase ( ) ;
9+ const { hostname, pathname, search, hash } = window . location ;
10+ const host = hostname . toLowerCase ( ) ;
1011
11- if ( host === "pklavc.github.io" || host === "www.pklavc.com" ) {
12- window . location . replace (
13- "https://pklavc.com" +
14- window . location . pathname +
15- window . location . search +
16- window . location . hash
17- ) ;
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 ) ;
1816 }
1917 </ script >
2018 < meta property ="og:title " content ="Patrick Araujo | Backend Software Engineer ">
You can’t perform that action at this time.
0 commit comments