Skip to content

Commit d582a28

Browse files
committed
update to oxc.rs
1 parent fea29e9 commit d582a28

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

Diff for: .vitepress/config/rss.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ export const rssConfig = defineConfig({
3030
buildEnd: async (config: SiteConfig) => {
3131
const feed = new Feed({
3232
title: "The Oxidation Compiler Blog",
33-
id: "https://oxc-project.github.io",
34-
link: "https://oxc-project.github.io",
33+
id: "https://oxc.rs",
34+
link: "https://oxc.rs",
3535
language: "en",
3636
favicon: "https://cdn.jsdelivr.net/gh/oxc-project/oxc-assets/logo-round-min.png",
3737
copyright: sharedConfig.themeConfig!.footer!.copyright!,
@@ -53,8 +53,8 @@ export const rssConfig = defineConfig({
5353

5454
feed.addItem({
5555
title: frontmatter.title,
56-
id: `https://oxc-project.github.io${url.replace(/\.html$/, "")}`,
57-
link: `https://oxc-project.github.io${url.replace(/\.html$/, "")}`,
56+
id: `https://oxc.rs${url.replace(/\.html$/, "")}`,
57+
link: `https://oxc.rs${url.replace(/\.html$/, "")}`,
5858
description: excerpt,
5959
content: html,
6060
author: (frontmatter.authors as string[]).map<Author>((id) => {

Diff for: .vitepress/config/shared.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,14 @@ const head: HeadConfig[] = [
3232
},
3333
],
3434
// Google Analytics
35-
["script", { async: "", src: "https://www.googletagmanager.com/gtag/js?id=G-X7WQ091KL7" }],
35+
["script", { async: "", src: "https://www.googletagmanager.com/gtag/js?id=G-Q1FN9GDBXP" }],
3636
[
3737
"script",
3838
{},
3939
`window.dataLayer = window.dataLayer || [];
4040
function gtag(){dataLayer.push(arguments);}
4141
gtag('js', new Date());
42-
gtag('config', 'G-X7WQ091KL7');`,
42+
gtag('config', 'G-Q1FN9GDBXP');`,
4343
],
4444
["link", { rel: "canonical", href: 'href="https://oxc.rs"' }],
4545
];

Diff for: README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
# Oxc Website
44

5-
Link: [oxc-project.github.io](https://oxc-project.github.io)
5+
- GitHub Pages: [oxc-project.github.io](https://oxc-project.github.io)
6+
- Netlify: [oxc.rs](https://oxc.rs)
67

78
### Contributing
89

0 commit comments

Comments
 (0)