diff --git a/netlify.toml b/netlify.toml index 39bb1ef6..bb80d427 100644 --- a/netlify.toml +++ b/netlify.toml @@ -25,7 +25,7 @@ node_bundler = "esbuild" [[headers]] for = "/*" [headers.values] - Access-Control-Allow-Origin = "seviche.cc" + Access-Control-Allow-Origin = "sevic.me" X-Frame-Options = "SAMEORIGIN" X-Content-Type-Options = "nosniff" X-XSS-Protection = "1; mode=block" diff --git a/src/lib/config/friends.ts b/src/lib/config/friends.ts index d3523691..9a8485f0 100644 --- a/src/lib/config/friends.ts +++ b/src/lib/config/friends.ts @@ -110,6 +110,6 @@ export const friends: Friend[] = [ title: "LitoMore's Mind", name: 'LitoMore', link: 'https://litomore.me', - avatar: 'https://avatars.githubusercontent.com/u/8186898?v=4' + avatar: 'https://litomore.me/favicon.svg' } ] diff --git a/src/lib/config/post.ts b/src/lib/config/post.ts index d7dbb0ce..eede0e4e 100644 --- a/src/lib/config/post.ts +++ b/src/lib/config/post.ts @@ -8,7 +8,7 @@ export const post: PostConfig = { use: ['Remark42','Webmention', 'Giscus'], style: 'boxed', webmention: { - username: 'seviche.cc', + username: 'sevic.me', sortBy: 'created', sortDir: 'down', form: true, diff --git a/src/lib/config/site.ts b/src/lib/config/site.ts index e6af97e4..9456184e 100644 --- a/src/lib/config/site.ts +++ b/src/lib/config/site.ts @@ -2,16 +2,16 @@ import type { SiteConfig } from '$lib/types/site' export const site: SiteConfig = { protocol: import.meta.env.URARA_SITE_PROTOCOL ?? import.meta.env.DEV ? 'http://' : 'https://', - domain: 'seviche.cc', - title: 'Seviche.cc', + domain: 'sevic.me', + title: 'sevic.me', subtitle: 'Random Frontend-Developer', lang: 'zh', description: 'Random Frontend-Developer', author: { - name: 'Seviche CC', + name: 'Sevi.C', avatar: '/assets/avatar.png', status: '🖤', - bio: 'Random Frontend-Developer', + bio: 'Full-stack wizard.', metadata: [ { icon: 'i-mdi-github', diff --git a/urara/2022-03-06-airtable/+page.md b/urara/2022-03-06-airtable/+page.md index 97e63f81..d3149799 100644 --- a/urara/2022-03-06-airtable/+page.md +++ b/urara/2022-03-06-airtable/+page.md @@ -12,7 +12,7 @@ lastmod: 2022-04-16T12:54:20.049Z ## 书签这回事 -上回说到用 [自建网页书签 Flare](https://seviche.cc/blog/flare/) ,今天不小心把 SSH 链接弄坏了(也就是连不上了),因为搭载的服务不多,所以把整个服务器都重装了,Flare 网页书签也炸了。 +上回说到用 [自建网页书签 Flare](https://sevic.me/blog/flare/) ,今天不小心把 SSH 链接弄坏了(也就是连不上了),因为搭载的服务不多,所以把整个服务器都重装了,Flare 网页书签也炸了。 其实搭建之后我没有用过(一次都没有),平时的书签管理主要靠搜索,各个浏览器之间的书签互相导入后,直接在搜索栏搜,如果是常用的网址,我用 Chorme 扩展 [eesel](https://chrome.google.com/webstore/detail/eesel-productivity-at-wor/jffaiidojfhflballoapgofphkadiono) 来解决,它可以列出最近用过的网页,按站点分类,查找起来很方便 diff --git a/urara/2022-05-26-write-a-page-template/+page.md b/urara/2022-05-26-write-a-page-template/+page.md index 56da5280..f9f73a98 100644 --- a/urara/2022-05-26-write-a-page-template/+page.md +++ b/urara/2022-05-26-write-a-page-template/+page.md @@ -120,7 +120,7 @@ export const projects: Project[] = [ description: '既然如何, 问题的关键究竟为何? 要想清楚,科学和人文谁更有意义,到底是一种怎么样的存在。 普列姆昌德曾经提到过,希望的灯一旦熄灭,生活刹那间变成了一片黑暗。这启发了我, 那么, 我认为, 总结的来说,', img: 'https://uneorange.oss-cn-guangzhou.aliyuncs.com/202205251801454.avif', - link: 'https://seviche.cc' + link: 'https://sevic.me' } ] ``` diff --git a/urara/2023-02-15-tools/+page.md b/urara/2023-02-15-tools/+page.md index bc47bdfe..6fdbfd1c 100644 --- a/urara/2023-02-15-tools/+page.md +++ b/urara/2023-02-15-tools/+page.md @@ -12,8 +12,8 @@ summary: 好像每个博客都有这么一篇博文呢 | ----------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | 操作系统 | macOS Ventura | | 浏览器 | [brave](https://brave.com/zh/), [Arc](https://arc.net/gift/588ed12e), [Firefox Developer Edition](https://www.mozilla.org/en-US/firefox/developer/) | -| RSS | [Miniflux](https://miniflux.app/)(see also: [Miniflux · 保存文章到 Pocket 以及 RSS](https://seviche.cc/2022-03-11-miniflux-to-pocket/) ), [Readwise Reader](https://read.readwise.io/) | -| 书签/稍后读 | Readwise Reader, [Cubox](https://cubox.pro/), [Linkding](https://github.com/sissbruecker/linkding), [Airtable](https://airtable.com)( see also: [Airtable · 网页剪藏](https://seviche.cc/2022-03-06-airtable/) , 浏览器自带 | +| RSS | [Miniflux](https://miniflux.app/)(see also: [Miniflux · 保存文章到 Pocket 以及 RSS](https://sevic.me/2022-03-11-miniflux-to-pocket/) ), [Readwise Reader](https://read.readwise.io/) | +| 书签/稍后读 | Readwise Reader, [Cubox](https://cubox.pro/), [Linkding](https://github.com/sissbruecker/linkding), [Airtable](https://airtable.com)( see also: [Airtable · 网页剪藏](https://sevic.me/2022-03-06-airtable/) , 浏览器自带 | | 笔记 | [Logseq](https://logseq.com/), [Obsidian](https://obsidian.md/), [Notion](https://www.notion.so/), [Craft](https://www.craft.do/)[^1], [Tot](https://tot.rocks/)[^2], [Airtable ](https://airtable.com)[^3], 备忘录 | | 阅读 | Zotero, Readwise Reader, Obsidian | | 社交 | [Pleroma](https://pleroma.social/), [Mastodon](https://mastodon.online/) | diff --git a/urara/2023-05-18-cs291/+page.md b/urara/2023-05-18-cs291/+page.md index d67a00da..1b8840cf 100644 --- a/urara/2023-05-18-cs291/+page.md +++ b/urara/2023-05-18-cs291/+page.md @@ -11,7 +11,7 @@ tags: 前前后后花了大概五天的时间,一天看2~3个小时不等,终于把这个 [Interactive 3D Graphics - CS291](https://www.udacity.com/course/interactive-3d-graphics--cs291)的课看完了。因为线上练习不太方便,所以基本上没有做 coding 练习,只是做了简单的 quiz。 ## 课程笔记 -[CS291](https://x.seviche.cc/#/page/cs291) +[CS291](https://x.sevic.me/#/page/cs291) 不太全面的随堂笔记,基本上如果是我觉得已经完全理解的、不重要的就不会记录。 diff --git a/urara/2023-09-10-akkoma-media/+page.md b/urara/2023-09-10-akkoma-media/+page.md index 5f16d9f5..59a5d299 100644 --- a/urara/2023-09-10-akkoma-media/+page.md +++ b/urara/2023-09-10-akkoma-media/+page.md @@ -61,7 +61,7 @@ summary: 配置 Cloudflare R2、Media Proxy、Varnish Cache、Media Cache 的简 > > 跨源资源共享 (CORS) 是一种机制,允许从提供第一个资源的域之外的另一个域请求网页上的受限资源(例如字体)。网页可以自由嵌入跨源图像、样式表、脚本、iframe 和视频。某些“跨域”请求,特别是 Ajax 请求,默认情况下被同源安全策略禁止。[^1] -当我们使用主域名(比如`seviche.cc`来访问子域名`m.seviche.cc` 上面的内容时,就会产生跨域问题,可以通过 CORS 来解决这个问题,在这里可以很方便地设置,滑动到下方 **CORS Policy** 的部分,点击右边按钮 `Add CROS policy` 添加: +当我们使用主域名(比如`sevic.me`来访问子域名`m.sevic.me` 上面的内容时,就会产生跨域问题,可以通过 CORS 来解决这个问题,在这里可以很方便地设置,滑动到下方 **CORS Policy** 的部分,点击右边按钮 `Add CROS policy` 添加: ![image.png](https://usc1.contabostorage.com/cc0b816231a841b1b0232d5ef0c6deb1:image/2023/09/8b753bed24fb1c0026b875e9b2097fc7.png) 设置里默认添加了一个`http://localhost:3000`的 URL,可以删掉,然后在`AllowedOrigins` 下面添加 Akkoma 的链接,比如`https://example.com`,以及在`AllowedMethods` 里加上 `POST`、`PUT`、`DELETE`, 如果下方没有任何报错就可以点右下角的 `Save` 保存,这部分就配置好了,但先不要关闭 Cloudflare 的页面。 ![image.png](https://usc1.contabostorage.com/cc0b816231a841b1b0232d5ef0c6deb1:image/2023/09/9fdab9e3ec71523fd56565a3d0c0b301.png) diff --git a/urara/2024-10-28-git/+page.md b/urara/2024-10-28-git/+page.md index cbd3a4e1..84c0bc5a 100644 --- a/urara/2024-10-28-git/+page.md +++ b/urara/2024-10-28-git/+page.md @@ -122,4 +122,4 @@ git cancel - [github skills](https://skills.github.com/) - [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) -借此机会,我对之前的文章:[Git · 常用操作笔记](https://seviche.cc/2022-05-25-git/) 中的命令表格进行了更新。 \ No newline at end of file +借此机会,我对之前的文章:[Git · 常用操作笔记](https://sevic.me/2022-05-25-git/) 中的命令表格进行了更新。 \ No newline at end of file diff --git a/urara/2024-12-25/+page.md b/urara/2024-12-25/+page.md new file mode 100644 index 00000000..7fb119c0 --- /dev/null +++ b/urara/2024-12-25/+page.md @@ -0,0 +1,13 @@ +--- +title: 我认为的职业素养 +created: 2024-12-25 +summary: Set a line for myself +--- + +- 不泄露客户的隐私 +- 不给用户取外号 +- 不在背地取笑用户的无知 +- 未经允许,不查看用户的数据 +- 不在办公场合发表性别歧视言论,虽然我觉得哪里都不应该发布这样的言论 +- bi +这么简单的时期,很多人却做不到。 \ No newline at end of file diff --git a/urara/flare/+page.md b/urara/flare/+page.md index 46c83a69..3c6bb201 100644 --- a/urara/flare/+page.md +++ b/urara/flare/+page.md @@ -125,7 +125,7 @@ docker-compose up -d ### 6.SSL 证书和其他书签 -安装证书,详情参考这篇:[用 docker 安装 Halo 博客并用 Nginx 反代](https://halo.seviche.cc/archives/halo-in-docker) +安装证书,详情参考这篇:[用 docker 安装 Halo 博客并用 Nginx 反代](https://halo.sevic.me/archives/halo-in-docker) ```bash certbot --nginx -d example.com -d www.example.com diff --git a/vercel.json b/vercel.json index df5e216c..2379593a 100644 --- a/vercel.json +++ b/vercel.json @@ -5,7 +5,7 @@ "headers": [ { "key": "Access-Control-Allow-Origin", - "value": "https://seviche.cc" + "value": "https://sevic.me" }, { "key": "X-Frame-Options",