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,
|
|
},
|
|
},
|
|
},
|
|
},
|
|
});
|