From 0d3dfe37f5c67fce4f67b3c970a45fa64d30d2ed Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Thu, 9 Apr 2026 21:31:56 -0500 Subject: [PATCH] feat: enable render --- Dockerfile | 2 +- astro.config.mjs | 31 ++++++++++++++++++++++++++++--- renovate.json | 2 +- 3 files changed, 30 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index a099104..9241979 100644 --- a/Dockerfile +++ b/Dockerfile @@ -32,4 +32,4 @@ LABEL version=$APP_VERSION LABEL description="Astro based personal website" EXPOSE $PORT -CMD ["bun", "run", "./dist/server/entry.mjs"] +CMD ["bun", "./dist/server/entry.mjs"] diff --git a/astro.config.mjs b/astro.config.mjs index 882e651..6a2ffe4 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -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', + }), +}); diff --git a/renovate.json b/renovate.json index fb62b64..6f6273e 100644 --- a/renovate.json +++ b/renovate.json @@ -5,7 +5,7 @@ "mergeConfidence:all-badges", ":rebaseStalePrs" ], - "timezone": "US/Central", + "timezone": "America/Chicago", "labels": [], "prHourlyLimit": 0, "prConcurrentLimit": 0,