feat: enable render
All checks were successful
test-build / build (push) Successful in 27s
test-build / guarddog (push) Successful in 30s
release-image / guarddog (push) Successful in 22s
release-image / build (push) Successful in 46s
release-image / semantic-release (push) Successful in 24s
release-image / release-harbor (push) Successful in 1m50s
release-image / release-gitea (push) Successful in 2m5s
renovate / renovate (push) Successful in 45s

This commit was merged in pull request #4.
This commit is contained in:
2026-04-09 21:31:56 -05:00
parent 4a2a89abac
commit 0d3dfe37f5
3 changed files with 30 additions and 5 deletions

View File

@@ -1,4 +1,29 @@
import { defineConfig } from 'astro/config';
import { defineConfig } from "astro/config";
// https://astro.build/config
export default defineConfig({});
import node from "@astrojs/node";
import sitemap from '@astrojs/sitemap';
const getSiteURL = () => {
if (process.env.SITE_URL) {
return `https://${process.env.SITE_URL}`;
}
return "http://localhost:4321";
};
export default defineConfig({
site: getSiteURL(),
security: { csp: true },
prefetch: true,
integrations: [
sitemap(),
],
output: 'static',
adapter: node({
mode: 'standalone',
}),
});