0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-01-06 22:10:10 -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.

19 lines
294 B
JavaScript
Raw Normal View History

import { defineConfig } from 'astro/config';
export default defineConfig({
renderers: ['@astrojs/renderer-svelte'],
vite: {
server: {
cors: {
2022-03-16 11:17:34 -05:00
credentials: true,
},
proxy: {
'/api': {
target: 'http://127.0.0.1:8085',
changeOrigin: true,
2022-03-16 11:17:34 -05:00
},
2022-02-14 12:50:16 -05:00
},
},
},
});