feat: enable render #4

Merged
alexlebens merged 1 commits from main into release 2026-04-10 02:33:34 +00:00
3 changed files with 30 additions and 5 deletions
Showing only changes of commit 0d3dfe37f5 - Show all commits

View File

@@ -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"]

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',
}),
});

View File

@@ -5,7 +5,7 @@
"mergeConfidence:all-badges",
":rebaseStalePrs"
],
"timezone": "US/Central",
"timezone": "America/Chicago",
"labels": [],
"prHourlyLimit": 0,
"prConcurrentLimit": 0,