Use deployment URL for generated metadata
This commit is contained in:
+3
-1
@@ -1,7 +1,9 @@
|
||||
import { defineConfig } from "astro/config";
|
||||
|
||||
const siteUrl = (process.env.SITE_URL || process.env.COOLIFY_URL || "https://heidrich-bedachung.de").replace(/\/$/, "");
|
||||
|
||||
export default defineConfig({
|
||||
site: "https://heidrich-bedachung.de",
|
||||
site: siteUrl,
|
||||
output: "static",
|
||||
trailingSlash: "always",
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user