Add canonical tag

This commit is contained in:
wearrrrr 2024-07-29 03:44:04 -05:00
parent 14d2f8e956
commit 2365bc19dc
3 changed files with 5 additions and 9 deletions

View file

@ -6,11 +6,15 @@ export default defineConfig({
site: "https://aluu.xyz",
integrations: [
sitemap({
priority: 0.5,
lastmod: new Date(),
i18n: {
locales: {
en: "en-US",
jp: "ja-JP",
fr: "fr-FR",
ru: "ru-RU",
zh: "zh-CN",
},
defaultLocale: "en",
},

View file

@ -40,6 +40,7 @@ const { title, optionalPreloads } = Astro.props;
<meta property="twitter:description" content="Alu is a sleek web proxy supporting multiple standards of communication, and wide levels of customization." />
<meta property="twitter:image" content="/logo.png" />
<link rel="sitemap" href="/sitemap-index.xml" />
<linK rel="canonical" href={Astro.url.href}>
{
optionalPreloads?.map((item) => {
return <link rel="preload" href={item.href} as={item.as} />;

9
src/types.d.ts vendored
View file

@ -13,15 +13,6 @@ interface Window {
wispData: WispData[];
}
declare global {
interface Global {
AluStore: AluStore;
}
// Add the property to globalThis
let AluStore: AluStore;
}
type ExtType = "serviceWorker" | "theme" | "page";
type Extension = {