Skip to content

Commit be17ee6

Browse files
committed
Update site URL handling, add default astro site var
1 parent 63fbcab commit be17ee6

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

packages/demo/astro.config.mjs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,11 @@ import mdx from "@astrojs/mdx";
1111
import react from "@astrojs/react";
1212

1313
const __dirname = fileURLToPath(new URL(".", import.meta.url));
14+
const site = "https://equality.eqtylab.io";
1415

1516
// https://astro.build/config
1617
export default defineConfig({
18+
site,
1719
vite: {
1820
plugins: [tailwindcss()],
1921
ssr: {
@@ -48,7 +50,7 @@ export default defineConfig({
4850
mdx(),
4951
react(),
5052
markdownExport({
51-
siteUrl: "https://equality.eqtylab.io",
53+
siteUrl: site,
5254
contentDir: "src/content/components",
5355
outputDir: "/components/",
5456
includeSourceUrls: true,

0 commit comments

Comments
 (0)