From d7934568bd1faf2b42822855671b32cecb62b0d6 Mon Sep 17 00:00:00 2001 From: eggy Date: Tue, 1 Nov 2022 00:07:14 -0400 Subject: [PATCH] migrate domain --- components/index/services.vue | 14 +++++++------- content/blog/2021/primoprod-progress-report.md | 4 ++-- content/blog/2022/primoprod-progress-report-2.md | 2 +- data/siteRevisions.ts | 6 +++--- layouts/default.vue | 2 +- nuxt.config.ts | 2 +- public/robots.txt | 2 +- server/routes/sitemap.xml.ts | 2 +- 8 files changed, 17 insertions(+), 17 deletions(-) diff --git a/components/index/services.vue b/components/index/services.vue index 07609d4..c3fbe0f 100644 --- a/components/index/services.vue +++ b/components/index/services.vue @@ -12,37 +12,37 @@

- + Self-hosted GitHub Note collection Wish simulator Kobo Cloud - + Ad-filled media server FOSS media server @@ -50,7 +50,7 @@ diff --git a/content/blog/2021/primoprod-progress-report.md b/content/blog/2021/primoprod-progress-report.md index b9e3edd..aa14270 100644 --- a/content/blog/2021/primoprod-progress-report.md +++ b/content/blog/2021/primoprod-progress-report.md @@ -6,7 +6,7 @@ tags: - tech --- -Welcome to the very first [Primoprod](https://primoprod.eggworld.tk) progress report! In a similar vein to quite a few open source emulation projects (such as those I follow myself using [emufeed](https://github.com/potatoeggy/emufeed/blob/master/sources.py)), I'll be releasing these tidbits in lieu of daily Unstagnation shorts sometimes. +Welcome to the very first [Primoprod](https://primoprod.eggworld.me) progress report! In a similar vein to quite a few open source emulation projects (such as those I follow myself using [emufeed](https://github.com/potatoeggy/emufeed/blob/master/sources.py)), I'll be releasing these tidbits in lieu of daily Unstagnation shorts sometimes. In this hopefully small series of development notes, I'll be laying out my experiences learning web development as an absolute amateur. @@ -83,7 +83,7 @@ For now, every time you pressed the wish button, you got a five-star animation. ## Asset prefetching and inconsistencies -Progress was steady and things appeared to be running perfectly. but on my local machine things load instantly, courtesy of it not being beamed around the world. So when it was deployed to https://primoprod.eggworld.tk, even with a relatively fast download speed, the background image loaded slowly, and there were a few seconds of downtime before a video would play. +Progress was steady and things appeared to be running perfectly. but on my local machine things load instantly, courtesy of it not being beamed around the world. So when it was deployed to https://primoprod.eggworld.me, even with a relatively fast download speed, the background image loaded slowly, and there were a few seconds of downtime before a video would play. This was unacceptable, so I investigated around on how Vue prefetches assets before giving up and setting up an [Electron](https://www.electronjs.org/) build for the desktop — this doesn't resolve the issue on the web, but until I'm more competent with Vue I can't quite make the necessary changes. The issue of slow asset loading also severely lengthened the suffering in the `ItemRevealScreen.vue` arc, where animations and audio had to be timed… diff --git a/content/blog/2022/primoprod-progress-report-2.md b/content/blog/2022/primoprod-progress-report-2.md index 43f2503..9458c21 100644 --- a/content/blog/2022/primoprod-progress-report-2.md +++ b/content/blog/2022/primoprod-progress-report-2.md @@ -151,6 +151,6 @@ If you have any idea how to fix them, please do send a suggestion on the [issue And that's everything that changed since August! Primoprod has come a long way from being a mere personal project to a proper personal project with fancy badges! Hopefully in the future it'll be able to be played standalone (chibi sprite combat, anyone?) so that it'll be interesting enough that people can set their goals and stick to them. -In case you'd like to check it out, version 1.1.0 released just [yesterday](https://github.com/potatoeggy/primoprod/releases/tag/v1.1.0) and is available for download for Windows, macOS, Linux, and Android, with a web version available at https://primoprod.eggworld.tk! +In case you'd like to check it out, version 1.1.0 released just [yesterday](https://github.com/potatoeggy/primoprod/releases/tag/v1.1.0) and is available for download for Windows, macOS, Linux, and Android, with a web version available at https://primoprod.eggworld.me! Until next time! diff --git a/data/siteRevisions.ts b/data/siteRevisions.ts index 9035ec7..06f7d69 100644 --- a/data/siteRevisions.ts +++ b/data/siteRevisions.ts @@ -6,8 +6,8 @@ interface SiteRevision { export const revisions: SiteRevision[] = [ { title: "Nuxt 3 (2022)", - url: "https://eggworld.tk", + url: "https://eggworld.me", }, - { title: "Eleventy (2021)", url: "https://2021.eggworld.tk" }, - { title: "Vanilla (2019-2020)", url: "https://2020.eggworld.tk" }, + { title: "Eleventy (2021)", url: "https://2021.eggworld.me" }, + { title: "Vanilla (2019-2020)", url: "https://2020.eggworld.me" }, ]; diff --git a/layouts/default.vue b/layouts/default.vue index 0d586fb..d1326be 100644 --- a/layouts/default.vue +++ b/layouts/default.vue @@ -35,7 +35,7 @@ useHead({ title: "Eggworld" }); GitHub and - + Gitea

diff --git a/nuxt.config.ts b/nuxt.config.ts index f312042..2f1da16 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -18,7 +18,7 @@ export default defineNuxtConfig({ shim: false, }, sitemap: { - hostname: process.env.BASE_URL || "https://eggworld.tk", + hostname: process.env.BASE_URL || "https://eggworld.me", }, tailwindcss: {}, colorMode: { diff --git a/public/robots.txt b/public/robots.txt index 18679ee..89b4c91 100644 --- a/public/robots.txt +++ b/public/robots.txt @@ -1,3 +1,3 @@ -Sitemap: https://eggworld.tk/sitemap.xml +Sitemap: https://eggworld.me/sitemap.xml User-agent: * Disallow: \ No newline at end of file diff --git a/server/routes/sitemap.xml.ts b/server/routes/sitemap.xml.ts index 927d737..6133f7c 100644 --- a/server/routes/sitemap.xml.ts +++ b/server/routes/sitemap.xml.ts @@ -4,7 +4,7 @@ import { SitemapStream, streamToPromise } from "sitemap"; export default defineEventHandler(async (event) => { // Fetch all documents const docs = await serverQueryContent(event).find(); - const sitemap = new SitemapStream({ hostname: "https://eggworld.tk" }); + const sitemap = new SitemapStream({ hostname: "https://eggworld.me" }); for (const doc of docs) { sitemap.write({ url: doc._path, changefreq: "monthly" }); }