File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 1919
2020 < body >
2121 < h1 > Available Domain</ h1 >
22- < p > The subdomain < span id ="subdomainName "> </ span > .is-a.dev is available for registration, completely for free! </ p >
22+ < p > The subdomain < span id ="subdomain "> </ span > .is-a.dev is available for registration, completely for free!</ p >
2323 < a href ="/ "> Return to the homepage to learn more about registering is-a.dev subdomains.</ a >
2424
2525 < script >
2626 const params = new URLSearchParams ( window . location . search ) ;
27- const subdomain = params . get ( "subdomain " ) ;
27+ const subdomain = params . get ( "d " ) ;
2828 if ( subdomain ) {
29- const el = document . getElementById ( "subdomainName" ) ;
30- if ( el ) { el . textContent = subdomain ; }
29+ const el = document . getElementById ( "subdomain" ) ;
30+ if ( el ) el . textContent = subdomain ;
31+ } else {
32+ window . location = "https://is-a.dev" ;
3133 }
3234 </ script >
3335 </ body >
You can’t perform that action at this time.
0 commit comments