feat: use nginx redirects
Some checks failed
deploy / deploy (push) Failing after 29s

This commit is contained in:
ndsboy 2025-03-14 22:21:16 +00:00
parent c0e4c8d190
commit 307785d019
2 changed files with 3 additions and 3 deletions

View file

@ -13,9 +13,6 @@ export default defineConfig({
domains: ["directus.swablab.de", "files.mastodon.social"],
service: passthroughImageService(),
},
redirects: {
"/todo": "https://directus.swablab.de/admin/content/tasks_general",
},
vite: {
plugins: [
tailwindcss(),

View file

@ -17,6 +17,9 @@ server {
internal;
}
location /todo {
return 301 https://directus.swablab.de/admin/content/tasks_general;
}
location /discord {
return 301 https://discord.gg/sZbmJdGkMQ;
}