redirect update 2
This commit is contained in:
@@ -1,10 +1,7 @@
|
|||||||
import path from 'path';
|
import path from 'path';
|
||||||
import { fileURLToPath } from 'url';
|
import { fileURLToPath } from 'url';
|
||||||
|
|
||||||
import { defineConfig } from 'astro/config';
|
import { defineConfig } from 'astro/config';
|
||||||
import netlify from "@astrojs/netlify/functions"
|
import netlify from "@astrojs/netlify/functions"
|
||||||
|
|
||||||
|
|
||||||
import sitemap from '@astrojs/sitemap';
|
import sitemap from '@astrojs/sitemap';
|
||||||
import tailwind from '@astrojs/tailwind';
|
import tailwind from '@astrojs/tailwind';
|
||||||
import mdx from '@astrojs/mdx';
|
import mdx from '@astrojs/mdx';
|
||||||
|
@@ -1,2 +1,6 @@
|
|||||||
/_astro/*
|
/_astro/*
|
||||||
Cache-Control: public, max-age=31536000, immutable
|
Cache-Control: public, max-age=31536000, immutable
|
||||||
|
|
||||||
|
/*
|
||||||
|
Access-Control-Allow-Origin: *
|
||||||
|
Accept-Language: *
|
1
public/_redirects
Normal file
1
public/_redirects
Normal file
@@ -0,0 +1 @@
|
|||||||
|
/* /api/:splat 200
|
@@ -1,6 +1,4 @@
|
|||||||
---
|
---
|
||||||
import { Astro } from 'astro';
|
|
||||||
|
|
||||||
const supportedLangs = ['en', 'nl', 'de'];
|
const supportedLangs = ['en', 'nl', 'de'];
|
||||||
let chosenLang = 'en';
|
let chosenLang = 'en';
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user