redirect update 2

This commit is contained in:
becarta
2025-02-11 01:53:17 +01:00
parent 53c1ee092a
commit 282d5764ff
4 changed files with 6 additions and 6 deletions

View File

@@ -1,10 +1,7 @@
import path from 'path';
import { fileURLToPath } from 'url';
import { defineConfig } from 'astro/config';
import netlify from "@astrojs/netlify/functions"
import sitemap from '@astrojs/sitemap';
import tailwind from '@astrojs/tailwind';
import mdx from '@astrojs/mdx';

View File

@@ -1,2 +1,6 @@
/_astro/*
Cache-Control: public, max-age=31536000, immutable
/*
Access-Control-Allow-Origin: *
Accept-Language: *

1
public/_redirects Normal file
View File

@@ -0,0 +1 @@
/* /api/:splat 200

View File

@@ -1,6 +1,4 @@
---
import { Astro } from 'astro';
const supportedLangs = ['en', 'nl', 'de'];
let chosenLang = 'en';