Skip to content

Commit ba09a3c

Browse files
authored
Merge pull request #34 from chinmina/feat/canonical-url-switch
feat: switch canonical base URL to docs.chinmina.dev
2 parents 9689169 + e39db0a commit ba09a3c

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

astro.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ const sidebar = [
6767

6868
// https://astro.build/config
6969
export default defineConfig({
70-
site: "https://chinmina.github.io",
70+
site: "https://docs.chinmina.dev",
7171
trailingSlash: "never",
7272

7373
integrations: [

astro.config.test.mjs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import { describe, expect, it } from "vitest"
2+
import config from "./astro.config.mjs"
3+
4+
describe("astro.config.mjs", () => {
5+
it("sets canonical base URL to docs.chinmina.dev", () => {
6+
expect(config.site).toBe("https://docs.chinmina.dev")
7+
})
8+
})

0 commit comments

Comments
 (0)