wasdf
This commit is contained in:
1 parent
efecc500c4
commit
cd45c5d98f
24 files changed
+689
-281
No files matched your search
+2
-2
@@ -5,7 +5,7 @@ import sitemap from '@astrojs/sitemap';
|
||||
export default defineConfig({
|
||||
site: 'https://www.ciphercell.de',
|
||||
trailingSlash: 'never',
|
||||
integrations: [sitemap({ filter: (page) => !/\/contact\//.test(page), i18n: { defaultLocale: 'en', locales: { en: 'en-GB', de: 'de-DE' } } })],
|
||||
integrations: [sitemap({ filter: (page) => !/\/(contact|notify)\//.test(page), i18n: { defaultLocale: 'en', locales: { en: 'en-GB', de: 'de-DE' } } })],
|
||||
i18n: {
|
||||
defaultLocale: 'en',
|
||||
locales: ['en', 'de'],
|
||||
@@ -13,5 +13,5 @@ export default defineConfig({
|
||||
},
|
||||
build: { inlineStylesheets: 'auto' },
|
||||
// In development the form posts to the contact handler started with `npm run contact`.
|
||||
vite: { server: { proxy: { '^/contact(/challenge)?$': { target: 'http://127.0.0.1:3000', changeOrigin: false } } } },
|
||||
vite: { server: { proxy: { '^/(contact(/challenge)?|notify(/verify)?)$': { target: 'http://127.0.0.1:3000', changeOrigin: false } } } },
|
||||
});
|
||||
Reference in new issue
Block a user