fix hostname
parent
e040ce4489
commit
ed228020ac
|
@ -2,7 +2,7 @@ export default function () {
|
||||||
const url = useRequestURL()
|
const url = useRequestURL()
|
||||||
const config = useRuntimeConfig()
|
const config = useRuntimeConfig()
|
||||||
|
|
||||||
if (url.hostname === 'tinysites') {
|
if (url.hostname === 'whois.tinysites') {
|
||||||
return useState('host', () => config.public.HNS)
|
return useState('host', () => config.public.HNS)
|
||||||
} else {
|
} else {
|
||||||
return useState('host', () => config.public.DNS)
|
return useState('host', () => config.public.DNS)
|
||||||
|
|
Loading…
Reference in New Issue