From 5472ca22fe17f542a7e4ad25cc6546f32184b019 Mon Sep 17 00:00:00 2001 From: Ivan Kuzmenko <6745157+rndtrash@users.noreply.github.com> Date: Sat, 11 Apr 2026 21:28:18 +0300 Subject: [PATCH] =?UTF-8?q?chore:=20=D0=9F=D0=B5=D1=80=D0=B5=D0=BD=D1=91?= =?UTF-8?q?=D1=81=20=D0=BA=D0=BE=D0=BD=D1=84=D0=B8=D0=B3=D1=83=D1=80=D0=B0?= =?UTF-8?q?=D1=86=D0=B8=D1=8E=20=D0=B3=D0=B5=D0=BD=D0=B5=D1=80=D0=B0=D1=82?= =?UTF-8?q?=D0=BE=D1=80=D0=B0=20Sitemap=20=D0=B2=20=D0=BE=D1=82=D0=B4?= =?UTF-8?q?=D0=B5=D0=BB=D1=8C=D0=BD=D1=8B=D0=B9=20=D1=84=D0=B0=D0=B9=D0=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- svelte-sitemap.config.ts | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 svelte-sitemap.config.ts diff --git a/package.json b/package.json index 24dee6a..3a98428 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "scripts": { "dev": "vite dev", "build": "vite build", - "postbuild": "npx svelte-sitemap --domain https://teasanctuary.ru", + "postbuild": "npx svelte-sitemap", "preview": "vite preview", "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json", "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch" diff --git a/svelte-sitemap.config.ts b/svelte-sitemap.config.ts new file mode 100644 index 0000000..1ec8b0b --- /dev/null +++ b/svelte-sitemap.config.ts @@ -0,0 +1,9 @@ +// svelte-sitemap.config.ts +import type { OptionsSvelteSitemap } from 'svelte-sitemap'; + +const config: OptionsSvelteSitemap = { + domain: 'https://teasanctuary.ru', + trailingSlashes: true, +}; + +export default config; \ No newline at end of file