Files
site-profile/astro.config.mjs
Alex Lebens 51041f6ae9
Some checks failed
renovate / renovate (push) Has been cancelled
apply prettier formatting
2025-06-08 16:45:36 -05:00

16 lines
364 B
JavaScript

import { defineConfig } from 'astro/config';
import tailwind from '@astrojs/tailwind';
import react from '@astrojs/react';
const getSiteURL = () => {
if (process.env.SITE_URL) {
return `https://${process.env.SITE_URL}`;
}
return 'http://localhost:4321';
};
export default defineConfig({
site: getSiteURL(),
integrations: [tailwind(), react()],
});