diff --git a/.env b/.env
index 4251fea..cd375d6 100644
--- a/.env
+++ b/.env
@@ -1,7 +1,7 @@
+ORIGIN="https://redmodding.org"
LIZZY_API_URL="https://backend.redmodding.org/"
-LIZZY_API_TOKEN="" # Override in .env.local
+PUBLIC_IMAGE_URL_PREFIX=""
DISCORD_SERVER_ID="717692382849663036"
-ORIGIN="https://redmodding.org"
diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml
index e645781..0d1ab10 100644
--- a/.github/workflows/static.yml
+++ b/.github/workflows/static.yml
@@ -44,8 +44,9 @@ jobs:
- name: build
env:
- BASE_PATH: "/${{ github.event.repository.name }}"
- LIZZY_API_TOKEN: ${{ secrets.LIZZY_API_TOKEN }}
+ # BASE_PATH: "/${{ github.event.repository.name }}" # Not used because we have custom domain
+ ORIGIN: ${{ env.ORIGIN }}
+ PUBLIC_IMAGE_URL_PREFIX: ${{ env.PUBLIC_IMAGE_URL_PREFIX }}
run: pnpm build
- name: Upload Artifacts
diff --git a/src/lib/components/parts/SEO.svelte b/src/lib/components/parts/SEO.svelte
index 1353720..4b40918 100644
--- a/src/lib/components/parts/SEO.svelte
+++ b/src/lib/components/parts/SEO.svelte
@@ -1,6 +1,7 @@
@@ -47,7 +53,7 @@
-
+
diff --git a/svelte.config.js b/svelte.config.js
index c0a8b61..130a55e 100644
--- a/svelte.config.js
+++ b/svelte.config.js
@@ -8,7 +8,9 @@ const config = {
preprocess: vitePreprocess(),
kit: {
- adapter: adapter(),
+ adapter: adapter({
+ fallback: "404.html",
+ }),
prerender: {
origin: process.env.ORIGIN,
},