Files
daily-journal-prompt/frontend/astro.config.mjs
2026-01-03 11:18:56 -07:00

23 lines
380 B
JavaScript

import { defineConfig } from 'astro/config';
import react from '@astrojs/react';
// https://astro.build/config
export default defineConfig({
integrations: [react()],
server: {
port: 3000,
host: true
},
vite: {
server: {
proxy: {
'/api': {
target: 'http://localhost:8000',
changeOrigin: true,
}
}
}
}
});