fix: configure docs for custom domain docs.snapotter.com

Set base path to / and add CNAME for GitHub Pages custom domain.
This commit is contained in:
ashim-hq
2026-04-24 14:23:05 +08:00
parent a062aa9e5f
commit 2f09618897
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -5,14 +5,14 @@ export default defineConfig({
title: "ashim",
description:
"Documentation for ashim - A Self Hosted Image Manipulator. 45+ tools, local AI, pipelines, REST API.",
base: "/ashim/",
base: "/",
srcDir: ".",
outDir: "./.vitepress/dist",
ignoreDeadLinks: [/localhost/],
head: [
["meta", { name: "theme-color", content: "#3b82f6" }],
["link", { rel: "icon", type: "image/svg+xml", href: "/ashim/favicon.svg" }],
["link", { rel: "icon", type: "image/svg+xml", href: "/favicon.svg" }],
["link", { rel: "llms-txt", href: "/ashim/llms.txt" }],
],
+1
View File
@@ -0,0 +1 @@
docs.snapotter.com