mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
7b9d042dde
* Allow SSR dynamic routes to not implement getStaticPaths * Adds a changeset * Update based on code-review comments
18 lines
294 B
JavaScript
18 lines
294 B
JavaScript
import { defineConfig } from 'astro/config';
|
|
|
|
export default defineConfig({
|
|
renderers: ['@astrojs/renderer-svelte'],
|
|
vite: {
|
|
server: {
|
|
cors: {
|
|
credentials: true,
|
|
},
|
|
proxy: {
|
|
'/api': {
|
|
target: 'http://127.0.0.1:8085',
|
|
changeOrigin: true,
|
|
},
|
|
},
|
|
},
|
|
},
|
|
});
|