Skip to content

Commit

Permalink
fix: move redirect to astro
Browse files Browse the repository at this point in the history
  • Loading branch information
felix-berlin committed Feb 24, 2024
1 parent 8d51e48 commit 2ca0e30
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ import spotlightjs from "@spotlightjs/astro";
export default defineConfig({
site: import.meta.env.DEV ? "http://localhost:4321" : "https://berliner-schnauze.wtf",
prefetch: true,
redirects: {
"/word/[...wordSlug]": "/wort/[...wordSlug]",
},
image: {
domains: ["upload.wikimedia.org", "cms.berliner-schnauze.wtf"],
},
Expand Down

0 comments on commit 2ca0e30

Please sign in to comment.