refactor: switch to nginx for serving static files and remove Node.js dependencies
Some checks failed
Deploy / deploy (push) Failing after 25s

This commit is contained in:
Adrian Altner 2026-04-22 17:16:38 +02:00
parent 5bb63bacf5
commit e69443ea2e
2 changed files with 4 additions and 22 deletions

View file

@ -5,8 +5,6 @@ import sitemap from '@astrojs/sitemap';
import { defineConfig, fontProviders } from 'astro/config';
import { loadEnv } from 'vite';
import node from '@astrojs/node';
const envMode = process.env.NODE_ENV === 'production' ? 'production' : 'development';
const envVars = loadEnv(envMode, process.cwd(), '');
const WEBMENTION_TOKEN = envVars.WEBMENTION_TOKEN || process.env.WEBMENTION_TOKEN || '';
@ -68,8 +66,4 @@ export default defineConfig({
},
},
],
adapter: node({
mode: 'standalone',
}),
});