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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

23 lines
399 B
JavaScript
Raw Permalink Normal View History

import { defineConfig } from 'astro/config';
import svelte from '@astrojs/svelte';
2022-03-28 08:01:09 -04:00
import deno from '@astrojs/deno';
// https://astro.build/config
export default defineConfig({
2022-03-28 08:01:09 -04:00
adapter: deno(),
integrations: [svelte()],
vite: {
server: {
cors: {
2022-03-16 16:17:34 +00:00
credentials: true,
},
proxy: {
'/api': {
target: 'http://127.0.0.1:8085',
changeOrigin: true,
2022-03-16 16:17:34 +00:00
},
2022-02-14 17:50:16 +00:00
},
},
},
});