switch to plantuml

This commit is contained in:
2026-03-07 00:13:14 +01:00
parent b7aa1079d4
commit cb89557998
6 changed files with 250 additions and 116 deletions

View File

@@ -5,6 +5,16 @@ import path from 'path'
export default defineConfig({
plugins: [react()],
server: {
proxy: {
// Avoid CORS: browser calls same origin, Vite forwards to Kroki
'/api/kroki': {
target: 'https://kroki.io',
changeOrigin: true,
rewrite: (path) => path.replace(/^\/api\/kroki/, ''),
},
},
},
resolve: {
alias: {
'@': path.resolve(__dirname, './src'),