Updated href's for domain change

Closes , 
This commit is contained in:
Neshura 2022-12-12 17:26:50 +01:00
parent 644db383a1
commit 69fc9f5984
No known key found for this signature in database
GPG key ID: ACDF5B6EBECF6B0A
3 changed files with 28 additions and 38 deletions

View file

@ -11,12 +11,12 @@ const Layout = ({ children }: { children: React.ReactNode }) => {
var _paq = window._paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(["setDocumentTitle", document.domain + "/" + document.title]);
_paq.push(["setCookieDomain", "www.neshura-server.net"]);
_paq.push(["setCookieDomain", "www.neshweb.net"]);
_paq.push(["disableCookies"]);
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="//tracking.neshura-server.net/";
var u="//tracking.neshweb.net/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '2']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];

View file

@ -19,8 +19,8 @@ const Navbar = () => {
<a className={router.pathname == item.href ? styles.navelem_active : styles.navelem}>{item.name}</a>
</Link>
))}
<Link key="Mastodon_Verify" href="https://mastodon.neshura-server.net/@neshura">
<a className={styles.navelem} rel="me" href="https://mastodon.neshura-server.net/@neshura">Mastodon</a>
<Link key="Mastodon_Verify" href="https://mastodon.neshweb.net/@neshura">
<a className={styles.navelem} rel="me" href="https://mastodon.neshweb.net/@neshura">Mastodon</a>
</Link>
</nav>