0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-03-17 23:11:29 -05:00
astro/examples/ssr/astro.config.mjs
2022-03-28 08:01:09 -04:00

22 lines
399 B
JavaScript

import { defineConfig } from 'astro/config';
import svelte from '@astrojs/svelte';
import deno from '@astrojs/deno';
// https://astro.build/config
export default defineConfig({
adapter: deno(),
integrations: [svelte()],
vite: {
server: {
cors: {
credentials: true,
},
proxy: {
'/api': {
target: 'http://127.0.0.1:8085',
changeOrigin: true,
},
},
},
},
});