no message
This commit is contained in:
parent
1fb84090b0
commit
43b490a6b2
@ -33,7 +33,7 @@ export default () => {
|
|||||||
createEffect(() => {
|
createEffect(() => {
|
||||||
const conversation = currentConversation()
|
const conversation = currentConversation()
|
||||||
const currentDomain = window.location.hostname;
|
const currentDomain = window.location.hostname;
|
||||||
const contentDomain = currentDomain=='Gtering.com'?currentDomain:'Ansnid.Com';
|
const contentDomain = currentDomain=='gtering.com'?'Gtering.com':'Ansnid.Com';
|
||||||
|
|
||||||
document.title = conversation ? `${(conversation.name || t('conversations.untitled'))} - ` + contentDomain : contentDomain
|
document.title = conversation ? `${(conversation.name || t('conversations.untitled'))} - ` + contentDomain : contentDomain
|
||||||
const link = document.querySelector("link[rel~='icon']") as HTMLLinkElement
|
const link = document.querySelector("link[rel~='icon']") as HTMLLinkElement
|
||||||
|
@ -13,7 +13,7 @@ export default () => {
|
|||||||
const $providerSettingsMap = useStore(providerSettingsMap)
|
const $providerSettingsMap = useStore(providerSettingsMap)
|
||||||
// bug: someTimes providerSettingsMap() is {}
|
// bug: someTimes providerSettingsMap() is {}
|
||||||
const currentDomain = window.location.hostname;
|
const currentDomain = window.location.hostname;
|
||||||
const contentDomain = currentDomain=='Gtering.com'?currentDomain:'Ansnid.Com';
|
const contentDomain = currentDomain=='gtering.com'?'Gtering.com':'Ansnid.Com';
|
||||||
const generalSettings = () => {
|
const generalSettings = () => {
|
||||||
return ($providerSettingsMap().general || {}) as unknown as GeneralSettings
|
return ($providerSettingsMap().general || {}) as unknown as GeneralSettings
|
||||||
}
|
}
|
||||||
|
@ -9,7 +9,7 @@ import { fetchData } from '../../http/api'
|
|||||||
export default () => {
|
export default () => {
|
||||||
|
|
||||||
const currentDomain = window.location.hostname;
|
const currentDomain = window.location.hostname;
|
||||||
const contentDomain = currentDomain=='Gtering.com'?currentDomain:'Ansnid.Com';
|
const contentDomain = currentDomain=='gtering.com'?'Gtering.com':'Ansnid.Com';
|
||||||
|
|
||||||
const [views, setViews] = createSignal(0)
|
const [views, setViews] = createSignal(0)
|
||||||
const [url, setUrl] = createSignal('')
|
const [url, setUrl] = createSignal('')
|
||||||
|
@ -12,7 +12,7 @@ export default function Banner({ views, url }: { views: number }) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const currentDomain = window.location.hostname;
|
const currentDomain = window.location.hostname;
|
||||||
const contentDomain = currentDomain=='Gtering.com'?currentDomain:'Ansnid.Com';
|
const contentDomain = currentDomain=='gtering.com'?'Gtering.com':'Ansnid.Com';
|
||||||
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user