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

19 lines
377 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(),
],
});