* Implements redirects, headers for SSR * Move away from an explicit Request * Properly handle endpoint routes in the build * chore(lint): ESLint fix * Update based on review comments Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
18 lines
260 B
JavaScript
18 lines
260 B
JavaScript
// @ts-check
|
|
|
|
export default defineConfig({
|
|
renderers: ['@astrojs/renderer-svelte'],
|
|
vite: {
|
|
server: {
|
|
cors: {
|
|
credentials: true
|
|
},
|
|
proxy: {
|
|
'/api': {
|
|
target: 'http://127.0.0.1:8085',
|
|
changeOrigin: true,
|
|
}
|
|
},
|
|
},
|
|
},
|
|
});
|