1
0
This repository has been archived on 2025-08-11. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
site-profile-archive/astro.config.mjs
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()],
});